System.IdentityModel.Tokens.Jwt.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
Default claim type filter list.
Default claim type mapping for inbound claims.
Default value for the flag that determines whether or not the InboundClaimTypeMap is used.
Default JwtHeader algorithm mapping
Default claim type mapping for outbound claims.
Gets or sets the property name of
Properties the will contain .Net type that was recognized when
Claims serialized the value to JSON.
See InboundClaimTypeMap for more information.
Gets or sets the property name of
Properties the will contain the original JSON claim 'name' if a mapping occurred when the
Claim(s) were created.
See InboundClaimTypeMap for more information.
Gets or sets the
MapInboundClaims property which is used when determining whether or not to map claim types that are extracted when validating a
JwtSecurityToken.
If this is set to true, the Type is set to the JSON claim 'name' after translating using this mapping. Otherwise, no mapping occurs.
The default value is true.
Gets the outbound algorithm map that is passed to the
JwtHeader constructor.
Gets or sets the OutboundClaimTypeMap which is used when creating a JwtSecurityToken from Claim(s).
The JSON claim 'name' value is set to Type after translating using this mapping.
The default value is ClaimTypeMapping.OutboundClaimTypeMap
Creates the 'value' for the actor claim: { actort, 'value' }
Returns a Json Web Token (JWT).
Creates a JWT in 'Compact Serialization Format'.
Creates a JWT in 'Compact Serialization Format'.
Creates a JWT in 'Compact Serialization Format'.
Creates a Json Web Token (JWT).
Decrypts a JWE and returns the clear text
Returns a
SecurityKey to use when validating the signature of a token.
Validates that the signature, if found or required, is valid.