<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.19.1" />

Microsoft.IdentityModel.Tokens.Experimental

Namespace with 38 public types

Classes

 AlgorithmValidationError Represents a validation error when the algorithm is not valid. If available, the invalid algorithm is stored in .
 AudienceValidationError Represents a validation error when the audience is not valid. If available, the audiences from the are stored in . Valid audiences are stored in .
 IssuerValidationError Represents a validation error when the is not valid. If available, the invalid issuer is stored in .
 IssuerValidationSource Represents the source from which the token issuer was validated. i.e. whether the issuer was matched with the configuration provided or the validation parameters provided. If a custom issuer validation delegate is used, a custom validation source can be instantiated and used.
 LifetimeValidationError Represents an error that occurs when a token's lifetime cannot be validated. If available, the not before and expires values are stored in and .
 MessageDetail Contains information about a message that is used to generate a message for logging or exceptions.
 SignatureKeyValidationError Represents a validation error when the that signed the is not valid. If available, the invalid signing key is stored in .
 SignatureValidationError Represents a validation error when the signature is not valid.
 TokenReplayValidationError Represents a validation error when a replay is detected. If available, the expiration time of the that failed the validation is included.
 TokenTypeValidationError Represents a validation error when the type is not valid. If available, the invalid token type is stored in .
 ValidatedToken Contains the results of successfully validating a .
 ValidationError Represents an error that occurred during a validation.
 ValidationParameters Contains a set of parameters that are used by a when validating a .

Structures

 ValidatedIssuer Represents a validated issuer, including the source of the validation.
 ValidatedLifetime Represents a validated lifetime, including the NotBefore and Expires values.
 ValidatedSignatureKey Represents a validated signature key.
 ValidatedTokenType Represents a validated token type, including the number of valid types present in the validation parameters.
 ValidationResult`2 Represents the result of an validation that can either succeed with a valid result or failed with a specific error.

Abstract Classes

 AlgorithmValidationFailure Failures that occur during validation of a algoritm.
 AudienceValidationFailure Failures that occur during validation of a audience.
 IssuerValidationFailure Failures that occur during validation of a issuer.
 LifetimeValidationFailure Failures that occur during validation of a lifetime.
 SignatureKeyValidationFailure Failures that occur during validation of a the signature key.
 SignatureValidationFailure Failures that occur during validation of a signature.
 TokenReplayValidationFailure Failures that occur during validation of a token replay.
 TokenTypeValidationFailure Failures that occur during validation of a token type.
 ValidationFailureType Failures that occur during validation of a .

Interfaces

 IResultBasedValidation Experimental interface that provides result based token validation instead of throwing exceptions.