struct Slack::AuthResponse

Included Modules

Defined in:

slack/oauth/auth_response.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]

Class Method Detail

def self.from_json(json : String | IO) #

[View source]

Instance Method Detail

def access_token : String #

[View source]
def access_token=(access_token : String) #

[View source]
def app_id : String #

[View source]
def app_id=(app_id : String) #

[View source]
def authed_user : Slack::Auth::User #

[View source]
def authed_user=(authed_user : Slack::Auth::User) #

[View source]
def bot_user_id : String | Nil #

[View source]
def bot_user_id=(bot_user_id : String | Nil) #

[View source]
def enterprise : Slack::Auth::Enterprise | Nil #

[View source]
def enterprise=(enterprise : Slack::Auth::Enterprise | Nil) #

[View source]
def expires_in : Int32 | Nil #

[View source]
def expires_in=(expires_in : Int32 | Nil) #

[View source]
def ok : Bool #

[View source]
def ok=(ok : Bool) #

[View source]
def refresh_token : String | Nil #

[View source]
def refresh_token=(refresh_token : String | Nil) #

[View source]
def scope : String #

[View source]
def scope=(scope : String) #

[View source]
def team : Slack::Auth::Team #

[View source]
def team=(team : Slack::Auth::Team) #

[View source]
def token_type : String | Nil #

[View source]
def token_type=(token_type : String | Nil) #

[View source]