Class PKILoginHandler
public sealed class PKILoginHandler : ILoginHandler
- Inheritance
-
PKILoginHandler
- Implements
- Inherited Members
Constructors
PKILoginHandler(PKIAuthentication, bool, IServices, PKILoginModel?, GetOtherUserInformation?)
public PKILoginHandler(PKIAuthentication pkiAuthentication, bool enableUserRegistration, IServices coreServices, PKILoginModel? loginModel = null, GetOtherUserInformation? getOtherUserInformation = null)
Parameters
pkiAuthenticationPKIAuthenticationenableUserRegistrationboolcoreServicesIServicesloginModelPKILoginModelgetOtherUserInformationGetOtherUserInformation
Properties
Commands
public IEnumerable<LoginCommand> Commands { get; }
Property Value
Model
public object Model { get; }
Property Value
Methods
GetLoginCredentials()
Extract entered or selected credentials from the view. These are specific to the authenticator
public Credentials GetLoginCredentials()
Returns
Initialise()
Provide functional credentials to an enabled view (or one which will soon be enabled), allowing selection
public void Initialise()
OnLoginFailed(AuthenticationFailure)
returns a descriptive error message and may perform additional tasks
public Task<string> OnLoginFailed(AuthenticationFailure error)
Parameters
errorAuthenticationFailure
Returns
OnLogout()
public void OnLogout()
Preview()
Provide nonfunctional credentials to a disabled view, for display purposes only
public void Preview()
RequestAutomaticLogin()
Optionally permit logging in without further user input
public bool RequestAutomaticLogin()