AgentClaims.DefaultAzureBotServiceScopes(ClaimsIdentity) 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.
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.