AgentClaims.GetTokenAudience(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.
Retrieves the audience of the token from the given claims identity.
public static string GetTokenAudience(System.Security.Claims.ClaimsIdentity identity);
static member GetTokenAudience : System.Security.Claims.ClaimsIdentity -> string
Public Shared Function GetTokenAudience (identity As ClaimsIdentity) As String
Parameters
- identity
- ClaimsIdentity
The claims identity containing the token information.
Returns
The token audience as a string.