JwtTokenUtilities Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
CreateEncodedSignature(String, SigningCredentials) |
Produces a signature over the |
GenerateKeyBytes(Int32) |
Generates key bytes. |
GetAllDecryptionKeys(TokenValidationParameters) |
Gets all decryption keys. |