SignInManager<TUser>.IsSignedIn(ClaimsPrincipal) Method

Definition

Returns true if the principal has an identity with the application cookie identity

public:
 virtual bool IsSignedIn(System::Security::Claims::ClaimsPrincipal ^ principal);
public virtual bool IsSignedIn (System.Security.Claims.ClaimsPrincipal principal);
abstract member IsSignedIn : System.Security.Claims.ClaimsPrincipal -> bool
override this.IsSignedIn : System.Security.Claims.ClaimsPrincipal -> bool
Public Overridable Function IsSignedIn (principal As ClaimsPrincipal) As Boolean

Parameters

principal
ClaimsPrincipal

The ClaimsPrincipal instance.

Returns

True if the user is logged in with identity.

Applies to