System.IdentityModel.Tokens.Jwt.JwtConstants
Constants for Json Web tokens.
JWE header alg indicating a shared symmetric key is directly used as CEK.
Short header type.
Long header type.
public const string JsonCompactSerializationRegex = "^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$"
JWS - Token format: 'header.payload.signature'. Signature is optional, but '.' is required.
public const string JweCompactSerializationRegex = "^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+$"
JWE - Token format: 'protectedheader.encryptedkey.iv.cyphertext.authenticationtag'.
Short token type.
Long token type.