struct Slack::Auth::User

Included Modules

Defined in:

slack/oauth/user.cr

Constant Summary

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

Constructors

Instance Method Summary

Macros inherited from module Slack::InitializerMacros

generate_initializer generate_initializer, inherit_assigns inherit_assigns, properties_with_initializer(*type_declarations) properties_with_initializer, setup_initializer_hook setup_initializer_hook

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) #