|
Webcom C SDK
|
#include <webcom-auth.h>
Data Fields | |
| char * | token |
| uint64_t | expires |
| char * | provider_uid |
| char * | uid |
| char * | error |
| char * | provider |
| char * | provider_profile |
Informations about an authentication response.
If the authentication is successful, error will be NULL, otherwise it points to a string describing the error.
| char* wc_auth_info::error |
not NULL f an error occurred
| uint64_t wc_auth_info::expires |
the token expiration timestamp, in seconds
| char* wc_auth_info::provider |
the name of the provider
| char* wc_auth_info::provider_profile |
some optional JSON string containing profile data from the provider, NULL if none
| char* wc_auth_info::provider_uid |
the User ID according to the provider
| char* wc_auth_info::token |
the webcom token
| char* wc_auth_info::uid |
the User ID according to the Webcom platform
1.8.13