class Google::Auth::TokenStore

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.

Attributes

default[RW]

Public Instance Methods

delete(_id) click to toggle source

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(_id) click to toggle source

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
store(_id, _token) click to toggle source

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