SignInManager<TUser>.IsSignedIn(ClaimsPrincipal) 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.
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.