Interface IAuthenticator
An interface for authentication flow that implements IAccessTokenProvider and IAuthenticationStateProvider.
Inherited Members
Namespace: Unity.Cloud.Identity
Syntax
public interface IAuthenticator : IAccessTokenProvider, IAuthenticatedUserInfoProvider, IAuthenticationStateProvider
Methods
HasValidPreconditionsAsync()
Indicates if the IAuthenticator has valid preconditions to provide authentication in the current execution context.
Declaration
Task<bool> HasValidPreconditionsAsync()
Returns
| Type | Description |
|---|---|
| Task<Boolean> | A task that when completed indicates if the |
InitializeAsync()
A task to initialize the AuthenticationState from either cache or direct injection value.
Declaration
Task InitializeAsync()
Returns
| Type | Description |
|---|---|
| Task |