CloudAdapterBase.CreateClaimsIdentity(String) Method

Definition

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.

Applies to