Table of Contents

Class LogOnResult

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Core.dll
public sealed class LogOnResult
Inheritance
LogOnResult
Inherited Members

Properties

AuthMethod

Gets the authentication method used for this login, for audit logging. When not set, the method is inferred.

public LoginLogAuthMethod? AuthMethod { get; init; }

Property Value

LoginLogAuthMethod?

AutoLogin

Gets or sets is auto-login enabled.

public bool AutoLogin { get; init; }

Property Value

bool

Current

public static LogOnResult? Current { get; set; }

Property Value

LogOnResult

ExternalProviderName

Gets the name of the external login provider used, when the login was performed through an external provider.

public string? ExternalProviderName { get; init; }

Property Value

string

FailedReason

Gets or sets the reason why the login failed.

public LogOnFailedReason FailedReason { get; init; }

Property Value

LogOnFailedReason

An LogOnFailedReason representation of the reason for the failed logon.

MfaCodeExpiration

Gets or sets code's date of expiration

public DateTimeOffset? MfaCodeExpiration { get; init; }

Property Value

DateTimeOffset?

MfaFailedCodeInputAttempts

Gets or sets number of failed code input attempts

public int MfaFailedCodeInputAttempts { get; init; }

Property Value

int

Password

Gets or sets the password used for authentication.

public string? Password { get; init; }

Property Value

string

Success

Gets success state.

[MemberNotNullWhen(true, "User")]
public bool Success { get; init; }

Property Value

bool

true if logon is successful; otherwise false.

User

Gets or sets the user associated with the provided username/password, if found.

public User? User { get; init; }

Property Value

User

Username

Gets or sets the username used for authentication.

public string? Username { get; init; }

Property Value

string
To top