class

Google::Token

Inherits JSON::Serializable / Reference / Object

Constructors

new(access_token : String, expires : Time, refresh_token : Nil | String)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

access_token
Source
access_token=(access_token : String)
Source
current?
Source
expired?
Source
expires
Source
expires=(expires : Time)
Source
expires_in
Source
expires_in=(expires_in : Int32)
Source
refresh_token
Source
refresh_token=(refresh_token : String | Nil)
Source
token_type
Source
token_type=(token_type : String)
Source