Interface ILoginProvider
Handles logging in.
Namespace: LemonEdge.Authentication.Core
Assembly: LemonEdge.Authentication.Core.dll
Syntax
public interface ILoginProvider
Properties
IsConfigValid
Whether the config is valid for this provider.
Declaration
bool IsConfigValid { get; }
Property Value
Type | Description |
---|---|
bool |
Key
The Key for this provider.
Declaration
string Key { get; }
Property Value
Type | Description |
---|---|
string |
Name
The user friendly name for this provider.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
Login(ILoginInput)
Returns a UserInfo, after logging in.
Declaration
Task<string> Login(ILoginInput input)
Parameters
Type | Name | Description |
---|---|---|
ILoginInput | input | An ILoginInput. |
Returns
Type | Description |
---|---|
Task<string> | A UserInfo |