My Project 1.0
Open Source Encrypted Vault Storage
|
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. |
Definition at line 8 of file ApiAuthenticationStateProvider.cs.
|
inline |
Definition at line 13 of file ApiAuthenticationStateProvider.cs.
|
inline |
Gets the current authentication state by checking for a valid JWT token.
Definition at line 26 of file ApiAuthenticationStateProvider.cs.
|
inline |
Notifies the application that the user has been authenticated.
Definition at line 51 of file ApiAuthenticationStateProvider.cs.
|
inline |
Notifies the application that the user has logged out.
Definition at line 61 of file ApiAuthenticationStateProvider.cs.