My Project 1.0
Open Source Encrypted Vault Storage
Loading...
Searching...
No Matches
ignivault.App.State.ApiAuthenticationStateProvider Class Reference
Inheritance diagram for ignivault.App.State.ApiAuthenticationStateProvider:
Collaboration diagram for ignivault.App.State.ApiAuthenticationStateProvider:

Public Member Functions

 ApiAuthenticationStateProvider (ITokenManager tokenManager, IAuthApiClient authApiClient)
override async Task< AuthenticationState > GetAuthenticationStateAsync ()
 Gets the current authentication state by checking for a valid JWT token.
Task NotifyUserAuthentication ()
 Notifies the application that the user has been authenticated.
Task NotifyUserLogout ()
 Notifies the application that the user has logged out.

Detailed Description

Definition at line 8 of file ApiAuthenticationStateProvider.cs.

Constructor & Destructor Documentation

◆ ApiAuthenticationStateProvider()

ignivault.App.State.ApiAuthenticationStateProvider.ApiAuthenticationStateProvider ( ITokenManager tokenManager,
IAuthApiClient authApiClient )
inline

Definition at line 13 of file ApiAuthenticationStateProvider.cs.

Member Function Documentation

◆ GetAuthenticationStateAsync()

override async Task< AuthenticationState > ignivault.App.State.ApiAuthenticationStateProvider.GetAuthenticationStateAsync ( )
inline

Gets the current authentication state by checking for a valid JWT token.

Returns

Definition at line 26 of file ApiAuthenticationStateProvider.cs.

◆ NotifyUserAuthentication()

Task ignivault.App.State.ApiAuthenticationStateProvider.NotifyUserAuthentication ( )
inline

Notifies the application that the user has been authenticated.

Returns

Definition at line 51 of file ApiAuthenticationStateProvider.cs.

◆ NotifyUserLogout()

Task ignivault.App.State.ApiAuthenticationStateProvider.NotifyUserLogout ( )
inline

Notifies the application that the user has logged out.

Returns

Definition at line 61 of file ApiAuthenticationStateProvider.cs.


The documentation for this class was generated from the following file: