Table of Contents

Class LoginScreen

Namespace
The.WPF.Shell.Login
Assembly
Instagile.WPF.dll

A standard login screen for use with The.WPF and various IAuthentication mechanisms.

public sealed class LoginScreen
Inheritance
LoginScreen
Inherited Members

Constructors

LoginScreen(string, string, ILoginHandler, AutoUpdater?)

public LoginScreen(string applicationTitle, string environment, ILoginHandler loginHandler, AutoUpdater? updater)

Parameters

applicationTitle string

used as a title for the login window

environment string

used to apply resource-based theming

loginHandler ILoginHandler

login implementation specific to some authenticator

updater AutoUpdater

optional - if not null, used to update the application before logging in

Properties

LogoutHandler

The delegate to pass to OnLogout(OnAuthenticateAsync).

public OnAuthenticate LogoutHandler { get; }

Property Value

OnAuthenticate

SplashScreenHandler

The delegate to pass to TabbedShell's constructor.

public SplashScreen SplashScreenHandler { get; }

Property Value

SplashScreen

Methods

DescribeAuthenticationError(AuthenticationFailure)

public static string DescribeAuthenticationError(AuthenticationFailure error)

Parameters

error AuthenticationFailure

Returns

string

DisplayAsync(SecurityService)

public Task<bool> DisplayAsync(SecurityService security)

Parameters

security SecurityService

Returns

Task<bool>

DisplayAsync(SessionService)

[Obsolete("Use the DisplayAsync(SecurityService) overload instead.")]
public Task<bool> DisplayAsync(SessionService session)

Parameters

session SessionService

Returns

Task<bool>