Freigeben über


AgentClaims.AllowAnonymous(ClaimsIdentity) Method

Definition

Determines whether anonymous access is allowed based on the given claims identity.

public static bool AllowAnonymous(System.Security.Claims.ClaimsIdentity identity);
static member AllowAnonymous : System.Security.Claims.ClaimsIdentity -> bool
Public Shared Function AllowAnonymous (identity As ClaimsIdentity) As Boolean

Parameters

identity
ClaimsIdentity

The claims identity to evaluate.

Returns

True if anonymous access is allowed, otherwise false.

Applies to