struct Shatter::MSA::MinecraftToken

Included Modules

Defined in:

shatter/msa.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(username : String, roles : Array(String), token_type : String, access_token : String, expires_in : Int32) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def access_token : String #

def clone #

[View source]
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) #

[View source]
def expires_in : Int32 #

def roles : Array(String) #

def token_type : String #

def username : String #