IAuthenticationTokenProvider is defined in the Telligent.Evolution.Extensibility.Authentication.Version2 namespace.
Definition
interface IAuthenticationTokenProvider : IPlugin
{
Guid Id { get; }
Task<AuthenticationToken> GetUserTokenAsync(Guid userId, AuthenticationTokenGetOptions options = null);
void Register(AuthenticationTokenController controller);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Id | Guid |
Methods
Task<AuthenticationToken> GetUserTokenAsync(Guid userId, AuthenticationTokenGetOptions options = null);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| userId | Guid | User Id | Required | ||
| options | AuthenticationTokenGetOptions | Options | Optional |
Return Type
void Register(AuthenticationTokenController controller);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| controller | AuthenticationTokenController | Controller | Required |