ClaimsValidator.ValidateClaimsAsync(IList<Claim>) Method
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.
Validates a list of Claim and should throw an exception if the validation fails.
public abstract System.Threading.Tasks.Task ValidateClaimsAsync (System.Collections.Generic.IList<System.Security.Claims.Claim> claims);
abstract member ValidateClaimsAsync : System.Collections.Generic.IList<System.Security.Claims.Claim> -> System.Threading.Tasks.Task
Public MustOverride Function ValidateClaimsAsync (claims As IList(Of Claim)) As Task
Parameters
Returns
true if the validation is successful, false if not.
Exceptions
Throw this exception if the validation fails.