AgentClaims.IsBotFramework(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.
Determines whether the specified incoming identity represents a Bot Framework user.
public static bool IsBotFramework(this System.Security.Claims.ClaimsIdentity identity);
static member IsBotFramework : System.Security.Claims.ClaimsIdentity -> bool
<Extension()>
Public Function IsBotFramework (identity As ClaimsIdentity) As Boolean
Parameters
- identity
- ClaimsIdentity
The incoming identity to evaluate for Bot Framework claims. This parameter cannot be null.
Returns
true if the incoming identity contains Bot Framework claims; otherwise, false.
Remarks
This method checks for specific claims that indicate the identity belongs to a Bot Framework user. Use this method to distinguish Bot Framework identities from other types of claims identities.