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, expires_in : Int32 | ::Nil, id : String, refresh_token : String | ::Nil, scope : String | ::Nil, token_type : String | ::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)
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)
#