Scroll to navigation

jwt_claims_helpers_grp(3) Library Functions Manual jwt_claims_helpers_grp(3)

NAME

jwt_claims_helpers_grp - Utility Functions

SYNOPSIS

Modules


Getters
Setters

Data Structures


struct jwt_value_t
Data type for get and set actions for JWT headers and claims.

Enumerations


enum jwt_value_type_t { JWT_VALUE_NONE = 0, JWT_VALUE_INT, JWT_VALUE_STR, JWT_VALUE_BOOL, JWT_VALUE_JSON, JWT_VALUE_INVALID }
Value types for claims and headers. enum jwt_value_error_t { JWT_VALUE_ERR_NONE = 0, JWT_VALUE_ERR_EXIST, JWT_VALUE_ERR_NOEXIST, JWT_VALUE_ERR_TYPE, JWT_VALUE_ERR_INVALID, JWT_VALUE_ERR_NOMEM }
Error values for header and claim requests. enum jwt_claims_t { JWT_CLAIM_ISS = 0x0001, JWT_CLAIM_SUB = 0x0002, JWT_CLAIM_AUD = 0x0004, JWT_CLAIM_EXP = 0x0008, JWT_CLAIM_NBF = 0x0010, JWT_CLAIM_IAT = 0x0020, JWT_CLAIM_JTI = 0x0040 }
WFC defined claims.

Detailed Description

Enumeration Type Documentation

enum jwt_claims_t

WFC defined claims.

Enumerator

:page_facing_up: RFC-7519 Sec 4.1.1 'iss'
:page_facing_up: RFC-7519 Sec 4.1.2 'sub'
:page_facing_up: RFC-7519 Sec 4.1.3 'aud'
:page_facing_up: RFC-7519 Sec 4.1.4 'exp'
:page_facing_up: RFC-7519 Sec 4.1.5 'nbf'
:page_facing_up: RFC-7519 Sec 4.1.6 'iat'
:page_facing_up: RFC-7519 Sec 4.1.7 'jti'

enum jwt_value_error_t

Error values for header and claim requests.

Enumerator

No error, success

Item exists (when setting)

Item doesn't exist (when getting)

Item is not of the type requested

Invalid request (general error)
Memory allocation error

enum jwt_value_type_t

Value types for claims and headers.

Enumerator

No type (do not use this)

Integer

String

Boolean

JSON String ({..} or [..])

Invalid (used internally)

Author

Generated automatically by Doxygen for LibJWT from the source code.

Version 3.2.2 LibJWT