Interface ILoginProvider
Handles logging in.
Namespace: LemonEdge.Authentication.Client
Assembly: LemonEdge.API.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(IConnector, ILoginInput)
Returns a UserInfo, after logging in.
Declaration
Task<UserInfo> Login(IConnector connector, ILoginInput loginInput)
Parameters
Type | Name | Description |
---|---|---|
IConnector | connector | The current connector |
ILoginInput | loginInput | An ILoginInput |
Returns
Type | Description |
---|---|
Task<UserInfo> | A UserInfo |