Share via


IResultBasedValidation Interface

Definition

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.

Applies to