struct
Slack::Auth::User
- Slack::Auth::User
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Slack::InitializerMacros
Defined in:
slack/oauth/user.crConstant 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
- .new(pull : JSON::PullParser)
- .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 Summary
- #access_token : String | Nil
- #access_token=(access_token : String | Nil)
- #expires_in : Int32 | Nil
- #expires_in=(expires_in : Int32 | Nil)
- #id : String
- #id=(id : String)
- #refresh_token : String | Nil
- #refresh_token=(refresh_token : String | Nil)
- #scope : String | Nil
- #scope=(scope : String | Nil)
- #token_type : String | Nil
- #token_type=(token_type : String | Nil)
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(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)
#