Google::Token
Inherits JSON::Serializable / Reference / Object
Constructors
new(access_token : String, expires : Time, refresh_token : Nil | String)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
access_token
Sourceaccess_token=(access_token : String)
Sourcecurrent?
Sourceexpired?
Sourceexpires
Sourceexpires=(expires : Time)
Sourceexpires_in
Sourceexpires_in=(expires_in : Int32)
Sourcerefresh_token
Sourcerefresh_token=(refresh_token : String | Nil)
Sourcetoken_type
Sourcetoken_type=(token_type : String)
Source