Webcom C SDK
Data Fields

#include <webcom-auth.h>

Data Fields

char * token
 
uint64_t expires
 
char * provider_uid
 
char * uid
 
char * error
 
char * provider
 
char * provider_profile
 

Detailed Description

Informations about an authentication response.

If the authentication is successful, error will be NULL, otherwise it points to a string describing the error.

Field Documentation

◆ error

char* wc_auth_info::error

not NULL f an error occurred

◆ expires

uint64_t wc_auth_info::expires

the token expiration timestamp, in seconds

◆ provider

char* wc_auth_info::provider

the name of the provider

◆ provider_profile

char* wc_auth_info::provider_profile

some optional JSON string containing profile data from the provider, NULL if none

◆ provider_uid

char* wc_auth_info::provider_uid

the User ID according to the provider

◆ token

char* wc_auth_info::token

the webcom token

◆ uid

char* wc_auth_info::uid

the User ID according to the Webcom platform


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