Jaa


EnterpriseChannelValidation.ValidateIdentity Method

Definition

Validates a ClaimsIdentity object against the credentials and service URL provided.

public static System.Threading.Tasks.Task ValidateIdentity (System.Security.Claims.ClaimsIdentity identity, Microsoft.Bot.Connector.Authentication.ICredentialProvider credentials, string serviceUrl);
static member ValidateIdentity : System.Security.Claims.ClaimsIdentity * Microsoft.Bot.Connector.Authentication.ICredentialProvider * string -> System.Threading.Tasks.Task
Public Shared Function ValidateIdentity (identity As ClaimsIdentity, credentials As ICredentialProvider, serviceUrl As String) As Task

Parameters

identity
ClaimsIdentity

The identity to validate.

credentials
ICredentialProvider

The credentials to use for validation.

serviceUrl
String

The service URL to validate.

Returns

A Task representing the result of the asynchronous operation.

Applies to