AgentClaims.DefaultAzureBotServiceScopes(ClaimsIdentity) Method

Definition

Returns the default Azure Bot Service scopes based on the incoming identity. If the incoming identity corresponds to a government Bot Framework claim, it returns the government-specific default scope; otherwise, it returns the standard default scope.

public static System.Collections.Generic.IList<string> DefaultAzureBotServiceScopes(System.Security.Claims.ClaimsIdentity identity);
static member DefaultAzureBotServiceScopes : System.Security.Claims.ClaimsIdentity -> System.Collections.Generic.IList<string>
Public Function DefaultAzureBotServiceScopes (identity As ClaimsIdentity) As IList(Of String)

Parameters

identity
ClaimsIdentity

The incoming identity containing the token information.

Returns

A list of token scopes.

Applies to