Interface definition for token stores. It is not required that implementations inherit from this class. It is provided for documentation purposes to illustrate the API contract.
Remove the token data from storage for the given ID.
@param [String] id
ID of the token data to delete
# File lib/googleauth/token_store.rb, line 64 def delete(_id) raise 'Not implemented' end
Load the token data from storage for the given ID.
@param [String] id
ID of token data to load.
@return [String]
The loaded token data.
# File lib/googleauth/token_store.rb, line 46 def load(_id) raise 'Not implemented' end
Put the token data into storage for the given ID.
@param [String] id
ID of token data to store.
@param [String] token
The token data to store.
# File lib/googleauth/token_store.rb, line 56 def store(_id, _token) raise 'Not implemented' end