class Google::Token
- Google::Token
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
auth/token.crConstructors
- .new(access_token : String, expires : Time, refresh_token : Nil | String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #access_token : String
- #access_token=(access_token : String)
- #current?
- #expired?
- #expires : Time
- #expires=(expires : Time)
- #expires_in : Int32
- #expires_in=(expires_in : Int32)
- #refresh_token : String | Nil
- #refresh_token=(refresh_token : String | Nil)
- #token_type : String
- #token_type=(token_type : String)