struct

Shatter::MSA::MinecraftToken

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(username : String, roles : Array(String), token_type : String, access_token : String, expires_in : Int32)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

access_token
clone
Source
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)
Source
expires_in
roles
token_type
username