Class AsyncLocalPrincipalAccessor
Implements
Inherited Members
Namespace: SuperOffice.Security.Principal
Assembly: SoCore.dll
Syntax
public class AsyncLocalPrincipalAccessor : NSPrincipalAccessorBase, INSPrincipalAccessor
Constructors
AsyncLocalPrincipalAccessor()
Declaration
public AsyncLocalPrincipalAccessor()
Properties
User
Get the current user-
Declaration
public override ClaimsPrincipal User { get; }
Property Value
| Type | Description |
|---|---|
| ClaimsPrincipal |
Overrides
Methods
SignIn(ClaimsPrincipal)
Sign in with the current user.
Declaration
public override void SignIn(ClaimsPrincipal user)
Parameters
| Type | Name | Description |
|---|---|---|
| ClaimsPrincipal | user |
Overrides
SignOut()
Sign out the current user.
Declaration
public override void SignOut()