Jaa


GovernmentChannelValidation.ValidateIdentity Method

Definition

Validate the ClaimsIdentity as sent from a Bot Framework Government Channel Service.

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 claims identity to validate.

credentials
ICredentialProvider

The user defined set of valid credentials, such as the AppId.

serviceUrl
String

The service url from the request.

Returns

A Task representing the asynchronous operation.

Applies to