OAuth2's public API supported by Concord.
More...
OAuth2's public API supported by Concord.
◆ discord_get_current_bot_application_information()
Returns the bot's application object.
- Parameters
-
| client | the client created with discord_from_token() |
| ret | return context of the request. if successful a discord_application will be sent over to its assigned done callback |
- See also
- discord_ret_application for more options
- Returns
- CCORDcode value for how the operation went, CCORD_OK means nothing out of the ordinary
◆ discord_get_current_authorization_information()
Returns info about the current authorization.
- Note
- Requires authentication with a bearer token
- Parameters
-
| client | the client created with discord_from_token() |
| ret | return context of the request. if successful a discord_auth_response will be sent over to its assigned done callback |
- See also
- discord_ret_auth_response for more options
- Returns
- CCORDcode value for how the operation went, CCORD_OK means nothing out of the ordinary