AgentClaims.IsBotFrameworkClaim(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 contains a valid Bot Framework claim.
public static bool IsBotFrameworkClaim(System.Security.Claims.ClaimsIdentity identity);
static member IsBotFrameworkClaim : System.Security.Claims.ClaimsIdentity -> bool
Public Function IsBotFrameworkClaim (identity As ClaimsIdentity) As Boolean
Parameters
- identity
- ClaimsIdentity
The incoming identity to evaluate for Bot Framework claims. This should represent the user's claims in the context of the Bot Framework.
Returns
true if the incoming identity contains a valid Bot Framework claim; otherwise, false.
Remarks
This method checks for both public and government Bot Framework claims to ascertain the validity of the incoming identity.