struct Discord::OAuth2Application
- Discord::OAuth2Application
- Struct
- Value
- Object
Overview
An OAuth2 application, as registered with Discord, that can hold
information about a Client
's associated bot user account and owner,
among other OAuth2 properties.
Defined in:
discordcr/mappings/oauth2.crConstructors
Instance Method Summary
- #bot_public : Bool
- #bot_public=(_bot_public : Bool)
- #bot_require_code_grant : Bool
- #bot_require_code_grant=(_bot_require_code_grant : Bool)
- #description : ::Union(String, Nil)
- #description=(_description : ::Union(String, Nil))
- #icon : ::Union(String, Nil)
- #icon=(_icon : ::Union(String, Nil))
- #id : Snowflake
- #id=(_id : Snowflake)
- #name : String
- #name=(_name : String)
- #owner : User
- #owner=(_owner : User)
- #rpc_origins : ::Union(Array(String), Nil)
- #rpc_origins=(_rpc_origins : ::Union(Array(String), Nil))
- #to_json(json : JSON::Builder)