VerifiedJwt
VerifiedJwt
A JWT whose signature and claims both passed the caller's policy.
ts
interface VerifiedJwt {
readonly verified: true;
readonly header: JwsHeader<JwsAlgorithm>;
readonly claims: JsonObject;
readonly registered: RegisteredClaims;
}Properties
readonlyverified:true— Alwaystrue.readonlyheader:JwsHeader<JwsAlgorithm> — The authenticated protected header.readonlyclaims:JsonObject— Every authenticated claim, exactly as the token carried it.readonlyregistered:RegisteredClaims— The registered claims, validated against their types.