struct Shatter::MSA::MinecraftToken
- Shatter::MSA::MinecraftToken
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
shatter/msa.crConstructors
- .new(username : String, roles : Array(String), token_type : String, access_token : String, expires_in : Int32)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #access_token : String
- #clone
- #copy_with(username _username = @username, roles _roles = @roles, token_type _token_type = @token_type, access_token _access_token = @access_token, expires_in _expires_in = @expires_in)
- #expires_in : Int32
- #roles : Array(String)
- #token_type : String
- #username : String
Constructor Detail
def self.new(username : String, roles : Array(String), token_type : String, access_token : String, expires_in : Int32)
#
Instance Method Detail
def copy_with(username _username = @username, roles _roles = @roles, token_type _token_type = @token_type, access_token _access_token = @access_token, expires_in _expires_in = @expires_in)
#