Token Validation Options Class
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.
Declares the options used for validating an attestation token.
When validating a JSON Web Token, there are a number of options that can be configured. For instance if the returned token is going to be validated by a relying party, there is no need for the client to validate the token.
Similarly, because the expiration time of the token is relative to the clock on the server, it may be necessary to introduce a level of "leeway" when determining if a token is expired or not.
public class AttestationTokenValidationOptions
type AttestationTokenValidationOptions = class
Public Class AttestationTokenValidationOptions
Initializes a new instance of the AttestationTokenValidationOptions class.
Expected Issuer for the token, if present.
Allowable slack in time validations - used to account for differences between the clock on the client and the clock on the server.
Specifies whether or not the validation logic should validate token expiration times, if present.
Specifies whether or not the validation logic should validate the Issuer of the token, if present.
Specifies whether or not the validation logic should validate token NotBefore time, if present.
Returns whether or not to validate the attestation token.
Create a deep copy of the current attestation token.
Raised when an attestation token should be validated.