googleauth - Class Google::Auth::Stores::FileTokenStore (v1.12.1)

Reference documentation and code samples for the googleauth class Google::Auth::Stores::FileTokenStore.

Implementation of user token storage backed by a local YAML file

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

#load

def load(id)

#store

def store(id, token)