| 
    Concord - C Discord API library
    
   A Discord API wrapper library written in C 
   | 
 
#include <oauth2.h>
Data Fields | |
| struct discord_application * | application | 
| struct strings * | scopes | 
| u64unix_ms | expires | 
| struct discord_user * | user | 
Public methods
discord_auth_response_from_json(const char json[], size_t len, struct discord_auth_response *this)discord_auth_response_from_jsmnf(jsmnf *root, const char json[], struct discord_auth_response *this)| struct discord_application* discord_auth_response::application | 
the current application
| struct strings* discord_auth_response::scopes | 
the scopes the user authorized the application for
| u64unix_ms discord_auth_response::expires | 
when the access token expires
| struct discord_user* discord_auth_response::user | 
the user who has authorized, if the user has authorized with the identify scope