Class Google::Auth::TokenStore
In: lib/googleauth/token_store.rb
Parent: Object

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.

Methods

delete   load   store  

Attributes

default  [RW] 

Public Instance methods

Remove the token data from storage for the given ID.

@param [String] id

 ID of the token data to delete

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.

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.

[Validate]