jwt_claims_helpers_grp(3)
π¦ NAME π¦
okay so hi bestie π this page is jwt_claims_helpers_grp, and it's literally just called Utility Functions. it lives in the Library Functions Manual, section 3, so when you wanna summon it you go man 3 jwt_claims_helpers_grp and it shows up ready to spill. no cap.
π SYNOPSIS π
π«Ά Topics
- 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 π
not me opening this section and it's β empty. π like, the heading is there, the energy is there, and then nothing. literally zero words. it's giving "left on read". anyway, moving on, the real tea is right below β¬οΈ
π₯ Enumeration Type Documentation π₯
πΈ enum jwt_claims_t
WFC defined claims. periodt. here's the full roster of enumerators:
JWT_CLAIM_ISSβ:page_facing_up:RFC-7519 Sec 4.1.1"iss"JWT_CLAIM_SUBβ:page_facing_up:RFC-7519 Sec 4.1.2"sub"JWT_CLAIM_AUDβ:page_facing_up:RFC-7519 Sec 4.1.3"aud"JWT_CLAIM_EXPβ:page_facing_up:RFC-7519 Sec 4.1.4"exp"JWT_CLAIM_NBFβ:page_facing_up:RFC-7519 Sec 4.1.5"nbf"JWT_CLAIM_IATβ:page_facing_up:RFC-7519 Sec 4.1.6"iat"JWT_CLAIM_JTIβ:page_facing_up:RFC-7519 Sec 4.1.7"jti"
π enum jwt_value_error_t
Error values for header and claim requests. aka the receipts for when things go right or go very wrong π«
JWT_VALUE_ERR_NONEβ No error, success. the dream. the icon. we love her. πJWT_VALUE_ERR_EXISTβ Item exists (when setting).JWT_VALUE_ERR_NOEXISTβ Item doesn't exist (when getting).JWT_VALUE_ERR_TYPEβ Item is not of the type requested. mismatch energy. πJWT_VALUE_ERR_INVALIDβ Invalid request (general error).JWT_VALUE_ERR_NOMEMβ Memory allocation error. rip. π
β enum jwt_value_type_t
Value types for claims and headers. the whole type menu, fr fr:
JWT_VALUE_NONEβ No type (do not use this). seriously bestie, don't. that's the original's words, not mine. π«JWT_VALUE_INTβ Integer.JWT_VALUE_STRβ String.JWT_VALUE_BOOLβ Boolean.JWT_VALUE_JSONβ JSON String ({..}or[..]).JWT_VALUE_INVALIDβ Invalid (used internally).
π§ Author π§
Generated automatically by Doxygen for LibJWT from the source code. so like, nobody's out here claiming credit personally β the robot did it. iconic of it honestly. π€β¨
and that's the whole page, bestie! π this was LibJWT, Version 3.3.3, in the Library Functions Manual β generated by Doxygen, so if you spot anything cursed in here, go tell the source code, not me. π mwah, slay, go decode a token. π¦
π¦ where this page comes from
- ubuntu stonking: libjwt14-doc 3.3.3-1build1 Β· MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms