Class MemoryTokensStorage (1.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass MemoryTokensStorageimplementsTokenStoreRepresents an in-memory storage of tokens.
Implements
TokenStoreInherited Members
Constructors
MemoryTokensStorage()
publicMemoryTokensStorage()Methods
delete(String id)
publicvoiddelete(Stringid)Remove the token data from storage for the given ID.
Name
Description
Exceptions
Type
Description
load(String id)
publicStringload(Stringid)Load the token data from storage for the given ID.
Name
Description
Returns
Type
Description
Exceptions
Type
Description
store(String id, String tokens)
publicvoidstore(Stringid,Stringtokens)Put the token data into storage for the given ID.
Name
Description
Exceptions
Type
Description