GovernmentChannelValidation.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.
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.