Table of Contents

Class IntegratedLoginOptions

Namespace
The.WPF.Shell.Login
Assembly
Instagile.WPF.dll
public sealed class IntegratedLoginOptions
Inheritance
IntegratedLoginOptions
Inherited Members

Properties

AllowCreateAccount

Whether administrators can create user profiles.

public bool AllowCreateAccount { get; set; }

Property Value

bool

AllowDeleteAccount

Whether administrators can delete user profiles.

public bool AllowDeleteAccount { get; set; }

Property Value

bool

AllowSignOut

Whether users can sign out of the application. Must be set to true if the authentication system allows automatic login.

public bool AllowSignOut { get; set; }

Property Value

bool

LoginHandler

Overrides the login handler, which is otherwise set automatically based on the authenticator.

public ILoginHandler? LoginHandler { get; set; }

Property Value

ILoginHandler

MenuGroupName

Name of the menu to which to add commands (if any).

public string MenuGroupName { get; set; }

Property Value

string

OnLoginFailed

Called if login fails. Use it to run extra logic or override the displayed error message. Return null to fall back to the default behaviour for a particular AuthenticationFailure.

public Func<AuthenticationFailure, Task<string?>>? OnLoginFailed { get; set; }

Property Value

Func<AuthenticationFailure, Task<string>>

Shell

Configuration passed to TabbedShell.

public ShellOptions Shell { get; set; }

Property Value

ShellOptions

Update

Configuration passed to AutoUpdater.

public UpdateOptions Update { get; set; }

Property Value

UpdateOptions

UsingClaimsAuthorisation

Set this to true if using ClaimsAuthorisation.

public bool UsingClaimsAuthorisation { get; set; }

Property Value

bool

UsingPasswordAuthentication

Adds controls for password login on user account screens. Defaults to true if PasswordAuthentication is being used and false otherwise.

public bool UsingPasswordAuthentication { get; set; }

Property Value

bool

UsingWebAuthentication

Adds controls for ASP.NET Core login on user account screens.

public bool UsingWebAuthentication { get; set; }

Property Value

bool