Partager via


System.IdentityModel.Tokens.Jwt Namespace

Classes

JsonClaimValueTypes

Constants that indicate how the Value should be evaluated.

JwtConstants

Constants for Json Web tokens.

JwtHeader

Initializes a new instance of JwtHeader which contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT. The member names within the JWT Header are referred to as Header Parameter Names.

These names MUST be unique and the values must be String(s). The corresponding values are referred to as Header Parameter Values.

JwtPayload

Initializes a new instance of JwtPayload which contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value }.

JwtSecurityToken

A SecurityToken designed for representing a JSON Web Token (JWT).

JwtSecurityTokenConverter

Static class to convert a JsonWebToken to a JwtSecurityToken

JwtSecurityTokenHandler

A SecurityTokenHandler designed for creating and validating Json Web Tokens. See: https://datatracker.ietf.org/doc/html/rfc7519 and http://www.rfc-editor.org/info/rfc7515

Structs

JwtHeaderParameterNames

List of header parameter names see: https://datatracker.ietf.org/doc/html/rfc7519#section-5.

JwtRegisteredClaimNames

List of registered claims from different sources https://datatracker.ietf.org/doc/html/rfc7519#section-4 http://openid.net/specs/openid-connect-core-1_0.html#IDToken https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims