Interface IAuthenticator
An interface for authentication flow that implements IServiceAuthorizer, IAuthenticationStateProvider, IUserInfoProvider and IOrganizationRepository.
Inherited Members
Namespace: Unity.Cloud.Identity
Assembly: Unity.Cloud.Identity.dll
Syntax
public interface IAuthenticator : IServiceAuthorizer, IAuthenticationStateProvider, IUserInfoProvider, IOrganizationRepository
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<bool> | 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 | A task. |