Freigeben über


JwtTokenUtilities Class

Definition

A class which contains useful methods for processing JWT tokens.

public class JwtTokenUtilities
type JwtTokenUtilities = class
Public Class JwtTokenUtilities
Inheritance
JwtTokenUtilities

Constructors

JwtTokenUtilities()

Fields

RegexJwe

Regex that is used to figure out if a token is in JWE format.

RegexJws

Regex that is used to figure out if a token is in JWS format.

Methods

CreateEncodedSignature(String, SigningCredentials, Boolean)

Produces a signature over the input.

CreateEncodedSignature(String, SigningCredentials)

Produces a signature over the input.

GenerateKeyBytes(Int32)

Generates key bytes.

GetAllDecryptionKeys(TokenValidationParameters)

Gets all decryption keys.

Applies to