Class: BrowseEverything::Auth::Google::Credentials

Inherits:
Google::Auth::UserRefreshCredentials
  • Object
show all
Defined in:
lib/browse_everything/auth/google/credentials.rb

Instance Method Summary collapse

Instance Method Details

#fetch_access_token(options = {}) ⇒ Object

Ensures that every call to retrieve an access token does not require an HTTP request

Parameters:

  • options (Hash) (defaults to: {})

    the access token values

See Also:

  • Google::Auth::UserRefreshCredentials#fetch_access_token


13
14
15
16
# File 'lib/browse_everything/auth/google/credentials.rb', line 13

def fetch_access_token(options = {})
  return build_token_hash if access_token
  super(options)
end