Interface ILoginHandler
public interface ILoginHandler
Properties
Commands
IEnumerable<LoginCommand> Commands { get; }
Property Value
Model
object Model { get; }
Property Value
Methods
GetLoginCredentials()
Extract entered or selected credentials from the view. These are specific to the authenticator
Credentials? GetLoginCredentials()
Returns
Initialise()
Provide functional credentials to an enabled view (or one which will soon be enabled), allowing selection
void Initialise()
OnLoginFailed(AuthenticationFailure)
returns a descriptive error message and may perform additional tasks
Task<string> OnLoginFailed(AuthenticationFailure errorCode)
Parameters
errorCodeAuthenticationFailure
Returns
OnLogout()
void OnLogout()
Preview()
Provide nonfunctional credentials to a disabled view, for display purposes only
void Preview()
RequestAutomaticLogin()
Optionally permit logging in without further user input
bool RequestAutomaticLogin()