Partilhar via


JwtConstants Class

Definition

Constants for JSON Web Tokens.

public static class JwtConstants
type JwtConstants = class
Public Class JwtConstants
Inheritance
JwtConstants

Fields

DirectKeyUseAlg

JWE header alg indicating a shared symmetric key is directly used as CEK.

HeaderType

Short header type.

HeaderTypeAlt

Long header type.

JsonCompactSerializationRegex

JWS - Token format: 'header.payload.signature'. Signature is optional, but '.' is required.

JweCompactSerializationRegex

JWE - Token format: 'protectedheader.encryptedkey.iv.cyphertext.authenticationtag'.

JweSegmentCount

The number of parts in a JWE token.

JwsSegmentCount

The number of parts in a JWS token.

MaxJwtSegmentCount

The maximum number of parts in a JWT.

TokenType

Short token type.

TokenTypeAlt

Long token type.

Applies to