struct Slack::Auth::User

Included Modules

Defined in:

slack/oauth/user.cr

Constant Summary

ASSIGNED_TYPES = [access_token : String | ::Nil, expires_in : Int32 | ::Nil, id : String, refresh_token : String | ::Nil, scope : String | ::Nil, token_type : String | ::Nil] of TypeDeclaration

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(id : String, access_token : String | Nil = nil, expires_in : Int32 | Nil = nil, refresh_token : String | Nil = nil, scope : String | Nil = nil, token_type : String | Nil = nil) #

Instance Method Detail

def access_token : String | Nil #

def access_token=(access_token : String | Nil) #

def expires_in : Int32 | Nil #

def expires_in=(expires_in : Int32 | Nil) #

def id : String #

def id=(id : String) #

def refresh_token : String | Nil #

def refresh_token=(refresh_token : String | Nil) #

def scope : String | Nil #

def scope=(scope : String | Nil) #

def token_type : String | Nil #

def token_type=(token_type : String | Nil) #