Expose Csla.ApplicationContext.User for use in Blazor authentication pages. More...
Classes | |
class | CurrentUserChangedEventArgs |
Event args for CurrentUserChanged event. More... | |
Public Member Functions | |
CslaUserService () | |
Creates an instance of the type, setting the current user to an unauthenticated ClaimsPrincipal. More... | |
Properties | |
ClaimsPrincipal? | CurrentUser [getset] |
Gets or sets the current user. More... | |
Events | |
EventHandler< CurrentUserChangedEventArgs > | CurrentUserChanged |
Event raised when the current user is changed. More... | |
Expose Csla.ApplicationContext.User for use in Blazor authentication pages.
For use with CslaAuthenticationStateProvider.
Definition at line 11 of file CslaUserService.cs.
Csla.Blazor.Client.Authentication.CslaUserService.CslaUserService | ( | ) |
Creates an instance of the type, setting the current user to an unauthenticated ClaimsPrincipal.
Definition at line 22 of file CslaUserService.cs.
|
getset |
Gets or sets the current user.
Definition at line 30 of file CslaUserService.cs.
EventHandler<CurrentUserChangedEventArgs> Csla.Blazor.Client.Authentication.CslaUserService.CurrentUserChanged |
Event raised when the current user is changed.
Definition at line 16 of file CslaUserService.cs.