IResultBasedValidation Interface
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.
Experimental interface that provides result based token validation instead of throwing exceptions.
public interface IResultBasedValidation
type IResultBasedValidation = interface
Public Interface IResultBasedValidation
- Derived
Methods
ValidateTokenAsync(SecurityToken, ValidationParameters, CallContext, CancellationToken) |
Validates a token. On a validation failure, no exception will be thrown; instead, the ValidationError will contain the information about the error that occurred. Callers should always check the ValidationResult.IsValid property to verify the validity of the result. |
ValidateTokenAsync(SecurityToken, ValidationParameters, CallContext) |
Validates a token. On a validation failure, no exception will be thrown; instead, the ValidationError will contain the information about the error that occurred. Callers should always check the ValidationResult.IsValid property to verify the validity of the result. |
ValidateTokenAsync(String, ValidationParameters, CallContext, CancellationToken) |
Validates a token. On a validation failure, no exception will be thrown; instead, the ValidationError will contain the information about the error that occurred. Callers should always check the ValidationResult.IsValid property to verify the validity of the result. |
ValidateTokenAsync(String, ValidationParameters, CallContext) |
Validates a token. On a validation failure, no exception will be thrown; instead, the ValidationError will contain the information about the error that occurred. Callers should always check the ValidationResult.IsValid property to verify the validity of the result. |