AgentClaims.IsExchangeableToken(JwtSecurityToken) 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 if a token is exchangeable based on its claims. An exchangeable token is one that is not a user token and has an audience claim that contains the appId of the token.
public static bool IsExchangeableToken(System.IdentityModel.Tokens.Jwt.JwtSecurityToken jwtToken);
static member IsExchangeableToken : System.IdentityModel.Tokens.Jwt.JwtSecurityToken -> bool
Public Function IsExchangeableToken (jwtToken As JwtSecurityToken) As Boolean
Parameters
- jwtToken
- JwtSecurityToken
The JWT token to evaluate. Cannot be null.
Returns
True if the token is exchangeable; otherwise, false.
Remarks
This is intended for use with tokens issued by the Microsoft identity platform including Azure Bot Token Service.