Table of Contents

Class WindowsLoginHandler

Namespace
The.WPF.Shell.Login
Assembly
Instagile.WPF.dll
public sealed class WindowsLoginHandler : ILoginHandler
Inheritance
WindowsLoginHandler
Implements
Inherited Members

Constructors

WindowsLoginHandler(NTLMAuthentication, WindowsLoginModel)

public WindowsLoginHandler(NTLMAuthentication authentication, WindowsLoginModel loginModel = null)

Parameters

authentication NTLMAuthentication
loginModel WindowsLoginModel

Properties

Commands

public IEnumerable<LoginCommand> Commands { get; }

Property Value

IEnumerable<LoginCommand>

Model

public object Model { get; }

Property Value

object

Methods

GetLoginCredentials()

Extract entered or selected credentials from the view. These are specific to the authenticator

public Credentials GetLoginCredentials()

Returns

Credentials

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 errorCode)

Parameters

errorCode AuthenticationFailure

Returns

Task<string>

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()

Returns

bool