Meeting SDK for Linux API Reference
|
SDK authentication parameter with jwt token. More...
#include <auth_service_interface.h>
Public Member Functions | |
tagAuthContext () | |
Data Fields | |
const zchar_t * | jwt_token |
JWT token. You may generate your JWT token using the online tool https://jwt.io/. | |
SDK authentication parameter with jwt token.
Definition at line 149 of file auth_service_interface.h.
|
inline |
Definition at line 176 of file auth_service_interface.h.
References jwt_token.
const zchar_t* tagAuthContext::jwt_token |
JWT token. You may generate your JWT token using the online tool https://jwt.io/.
aaaaa.bbbbb.cccc
. Please follow this template to compose your payload for SDK initialization: Header { "alg": "HS256", "typ": "JWT" } Payload { "appKey": "string", // Your SDK key "iat": long, // access token issue timestamp "exp": long, // access token expire time "tokenExp": long // token expire time } Signature HMACSHA256( base64UrlEncode(header) + "." + base64UrlEncode(payload), "Your SDK secret here" ) Definition at line 175 of file auth_service_interface.h.
Referenced by tagAuthContext().