class TandaCLI::Configuration::AccessToken
- TandaCLI::Configuration::AccessToken
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
tanda_cli/configuration/types/access_token.crConstructors
- .new(pull : JSON::PullParser)
- .new(email : String | Nil = nil, token : String | Nil = nil, token_type : String | Nil = nil, scopes : Array(TandaCLI::Scopes::OptionalScope | TandaCLI::Scopes::RequiredScope) = Array(Scopes::Scope).new, created_at : Int32 | Nil = nil)
Instance Method Summary
- #created_at : Int32 | Nil
- #created_at=(created_at : Int32 | Nil)
- #email : String | Nil
- #email=(email : String | Nil)
- #scopes : Array(Scopes::Scope)
- #scopes=(scopes : Array(Scopes::Scope))
- #token : String | Nil
- #token=(token : String | Nil)
- #token_type : String | Nil
- #token_type=(token_type : String | Nil)
Constructor Detail
def self.new(email : String | Nil = nil, token : String | Nil = nil, token_type : String | Nil = nil, scopes : Array(TandaCLI::Scopes::OptionalScope | TandaCLI::Scopes::RequiredScope) = Array(Scopes::Scope).new, created_at : Int32 | Nil = nil)
#