CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Blazor.Client.Authentication.CslaAuthenticationStateProvider Class Reference

ASP.NET AuthenticationStateProvider that relies on the CslaUserService to manage the current user. More...

Inheritance diagram for Csla.Blazor.Client.Authentication.CslaAuthenticationStateProvider:

Public Member Functions

 CslaAuthenticationStateProvider (CslaUserService currentUserService)
 Creates an instance of the type. More...
 
override Task< AuthenticationState > GetAuthenticationStateAsync ()
 Gets the AuthenticationState from the CslaUserService service. More...
 

Detailed Description

ASP.NET AuthenticationStateProvider that relies on the CslaUserService to manage the current user.

Definition at line 10 of file CslaAuthenticationStateProvider.cs.

Constructor & Destructor Documentation

◆ CslaAuthenticationStateProvider()

Csla.Blazor.Client.Authentication.CslaAuthenticationStateProvider.CslaAuthenticationStateProvider ( CslaUserService  currentUserService)

Creates an instance of the type.

Parameters
currentUserServiceCslaUserService instance

Definition at line 18 of file CslaAuthenticationStateProvider.cs.

Member Function Documentation

◆ GetAuthenticationStateAsync()

override Task< AuthenticationState > Csla.Blazor.Client.Authentication.CslaAuthenticationStateProvider.GetAuthenticationStateAsync ( )

Gets the AuthenticationState from the CslaUserService service.

Returns

Definition at line 33 of file CslaAuthenticationStateProvider.cs.