Reference documentation and code samples for the googleauth class Google::Auth::Stores::FileTokenStore.
Implementation of user token storage backed by a local YAML file
Inherits
Methods
#delete
def delete(id)
#initialize
def initialize(options = {}) -> FileTokenStore
Create a new store with the supplied file.
Parameter
- file (String, File) — Path to storage file
Returns
- (FileTokenStore) — a new instance of FileTokenStore
#load
def load(id)
#store
def store(id, token)