Concord - C Discord API library
A Discord API wrapper library written in C
discord_auth_response Struct Reference

#include <oauth2.h>

Collaboration diagram for discord_auth_response:
[legend]

Data Fields

struct discord_applicationapplication
 
struct stringsscopes
 
u64unix_ms expires
 
struct discord_useruser
 

Detailed Description

Field Documentation

◆ application

struct discord_application* discord_auth_response::application

the current application

◆ scopes

struct strings* discord_auth_response::scopes

the scopes the user authorized the application for

◆ expires

u64unix_ms discord_auth_response::expires

when the access token expires

◆ user

struct discord_user* discord_auth_response::user

the user who has authorized, if the user has authorized with the identify scope


The documentation for this struct was generated from the following file: