OidcClaimTypes Class
The names of claims this library writes or reads that the IANA JSON Web Token Claims registry does not hold. The registered names are in IanaClaimTypes.
public static class OidcClaimTypesInheritance System.Object → OidcClaimTypes
Fields
OidcClaimTypes.AuthenticationRequestId Field
The identifier of the backchannel authentication request this ID Token answers, carried so a push notification cannot be replayed against a different request.
public const string AuthenticationRequestId = "urn:openid:params:jwt:claim:auth_req_id";Field Value
Remarks
CIBA Core 1.0 Section 10.3.1 phrases this alongside the hashes - "the OP MUST include the hash value of the Access Token and the auth_req_id ... using the at_hash and urn:openid:params:jwt:claim
_req_id claims respectively" - but its own worked example beside that sentence carries the identifier VERBATIM, matching theauth_req_id field of the same
notification body. The example is what a client compares against, and its own requirement is to
check that this claim MATCHES the identifier it asked about, which a hash would not let it do.
Required in push mode only, which the same paragraph says outright. Poll and ping clients redeem at the token endpoint holding the identifier already.
OidcClaimTypes.GrantId Field
"grant_id" - Abblix private claim (RFC 7519 Section 4.3) naming the refresh token family an access or refresh token was minted inside: the family the grant it was issued under carried, or the one started for a request issuing a refresh token. An ID token carries none. It binds those tokens into a single lineage (a "token family" in RFC 9700 terms): a first-issued refresh token starts a new grant, and each rotation carries the same value forward. It lets a detected replay revoke the whole family in one registry write. A token exercising no such authority carries no value. No IANA-registered claim captures per-grant refresh-token lineage. The value is random and opaque, so a resource server reading it from an access token learns only which tokens share a grant. See RFC 9700 Section 4.14.2.
public const string GrantId = "grant_id";Field Value
OidcClaimTypes.IdentityProvider Field
The 'idp' claim represents the identity provider that authenticated the end user.
public const string IdentityProvider = "idp";Field Value
OidcClaimTypes.RefreshTokenHash Field
The hash of the refresh token delivered beside this ID Token, computed the same way AtHash is.
public const string RefreshTokenHash = "urn:openid:params:jwt:claim:rt_hash";Field Value
Remarks
CIBA Core 1.0 Section 10.3.1: "In case a Refresh Token is sent to the Client, the hash value of it MUST also be added to the ID token using the urn:openid:params:jwt:claim
_hash claim", and the same sentence points at OpenID Connect Core 1.0 Section 3.1.3.6 for the calculation - the oneat_hash uses. Required in push mode only, which is what the paragraph says - it does not
forbid the claim elsewhere - and only when a refresh token is actually sent.
OidcClaimTypes.RequestedClaims Field
The 'requested_claims' claim represents the specific claims requested by the client.
public const string RequestedClaims = "requested_claims";