OAuthAnonymousPrincipal
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
An explicitly unauthenticated principal. OAuthClient assigns this to User on sign-out, because assigning null makes the property fall back to the host's principal and leaves the user authenticated under Windows or cookie authentication.
4.2.0+- C#
- VB.NET
public sealed class OAuthAnonymousPrincipal : ClaimsPrincipal
Public NotInheritable Class OAuthAnonymousPrincipal
Inherits ClaimsPrincipal
Constructors
OAuthAnonymousPrincipal()
Initializes a new instance of the OAuthAnonymousPrincipal class. Its identity has an empty authentication type, so IsAuthenticated — and therefore IsAuthenticated — is false.