Class LoginScreen
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
applicationTitlestringused as a title for the login window
environmentstringused to apply resource-based theming
loginHandlerILoginHandlerlogin implementation specific to some authenticator
updaterAutoUpdateroptional - 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
SplashScreenHandler
The delegate to pass to TabbedShell's constructor.
public SplashScreen SplashScreenHandler { get; }
Property Value
Methods
DescribeAuthenticationError(AuthenticationFailure)
public static string DescribeAuthenticationError(AuthenticationFailure error)
Parameters
errorAuthenticationFailure
Returns
DisplayAsync(SecurityService)
public Task<bool> DisplayAsync(SecurityService security)
Parameters
securitySecurityService
Returns
DisplayAsync(SessionService)
[Obsolete("Use the DisplayAsync(SecurityService) overload instead.")]
public Task<bool> DisplayAsync(SessionService session)
Parameters
sessionSessionService