AgentClaims.AllowAnonymous(ClaimsIdentity) Method

Definition

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

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

Parameters

identity
ClaimsIdentity

The incoming identity to evaluate.

Returns

True if anonymous access is allowed, otherwise false.

Applies to