CloudAdapterBase.CreateClaimsIdentity(String) 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.
This is a helper to create the ClaimsIdentity structure from an appId that will be added to the TurnContext. It is intended for use in proactive and named-pipe scenarios.
protected System.Security.Claims.ClaimsIdentity CreateClaimsIdentity (string botAppId);
member this.CreateClaimsIdentity : string -> System.Security.Claims.ClaimsIdentity
Protected Function CreateClaimsIdentity (botAppId As String) As ClaimsIdentity
Parameters
- botAppId
- String
The bot's application id.
Returns
A ClaimsIdentity with the audience and appId claims set to the appId.