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

Basic implementation of AuthenticationStateProvider More...

Inheritance diagram for Csla.Blazor.Authentication.CslaAuthenticationStateProvider:

Public Member Functions

 CslaAuthenticationStateProvider ()
 Creates an instance of the type. More...
 
override Task< AuthenticationState > GetAuthenticationStateAsync ()
 Gets the authentication state. More...
 
void SetPrincipal (ClaimsPrincipal principal)
 Sets the principal representing the current user identity. More...
 

Detailed Description

Basic implementation of AuthenticationStateProvider

Definition at line 17 of file CslaAuthenticationStateProvider.cs.

Constructor & Destructor Documentation

◆ CslaAuthenticationStateProvider()

Csla.Blazor.Authentication.CslaAuthenticationStateProvider.CslaAuthenticationStateProvider ( )

Creates an instance of the type.

Definition at line 22 of file CslaAuthenticationStateProvider.cs.

Member Function Documentation

◆ GetAuthenticationStateAsync()

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

Gets the authentication state.

Returns

Definition at line 33 of file CslaAuthenticationStateProvider.cs.

◆ SetPrincipal()

void Csla.Blazor.Authentication.CslaAuthenticationStateProvider.SetPrincipal ( ClaimsPrincipal  principal)

Sets the principal representing the current user identity.

Parameters
principalClaimsPrincipal instance

Definition at line 42 of file CslaAuthenticationStateProvider.cs.