E_MCL_ERROR_CODE jwt_initialize(security_handler_t *security_handler, E_MCL_SECURITY_PROFILE security_profile, string_t *tenant, jwt_t **jwt)
JWT Initializer.
E_MCL_SECURITY_PROFILE
Definitions of different security profiles for onboarding.
Json util module header file.
json_t * payload
Payload of jwt.
mcl_time_t issued_at
Time of issue.
E_MCL_ERROR_CODE
MCL Error code definitions. Every function returning an error code uses this enum values...
security_handler_t * security_handler
Security handler.
string_t * jwt_get_token(jwt_t *jwt)
Used to generate the JWT Token as json string.
json_t * header
Header of jwt.
Handle struct for security_handler module.
E_MCL_SECURITY_PROFILE security_profile
Security profile.
void jwt_destroy(jwt_t **jwt)
To destroy the JWT Handler.
Security handler module header file.
This struct is used for json handling.