Freigeben über


AgentClaims.GetTokenAudience(ClaimsIdentity) Method

Definition

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.

Applies to