class

Google::Auth::TokenStore

Inherits JSON::Serializable < Reference < Object

Constructors

from_client(client : OAuth2Client) : TokenStore
Source
load(path : String) : TokenStore
Source
new(access_token : String | Nil = nil, refresh_token : String | Nil = nil, expires_at : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

access_token
Source
access_token=(access_token : String | Nil)
Source
apply_to(client : OAuth2Client) : Nil
Source
expires_at
Source
expires_at=(expires_at : String | Nil)
Source
refresh_token
Source
refresh_token=(refresh_token : String | Nil)
Source
save(path : String) : Nil
Source