class
TandaCLI::State::Serialisable::AccessToken
- TandaCLI::State::Serialisable::AccessToken
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tanda_cli/state/serialisable/access_token.crConstant Summary
-
REDACTED_TOKEN =
"[redacted]"
Constructors
- .from(email : String, api_token : API::Types::AccessToken) : self
- .new(email : String, token : String, token_type : String, scopes : String, created_at : Time)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #created_at : Time
- #email : String
- #redacted : AccessToken
- #scopes : String
- #token : String
- #token_type : String
Constructor Detail
def self.new(email : String, token : String, token_type : String, scopes : String, created_at : Time)
#