TokenCache Class

Inheritance
builtins.object
TokenCache

Constructor

TokenCache(state=None)

Parameters

Name Description
state
Default value: None

Methods

add
deserialize
find
read_items

output list of tuples in (key, authentication-result)

remove
serialize

add

add(entries)

Parameters

Name Description
entries
Required

deserialize

deserialize(state)

Parameters

Name Description
state
Required

find

find(query)

Parameters

Name Description
query
Required

read_items

output list of tuples in (key, authentication-result)

read_items()

remove

remove(entries)

Parameters

Name Description
entries
Required

serialize

serialize()