EnterpriseChannelValidation.ValidateIdentity 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 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.