Class LogOnResult
- Namespace
- Dynamicweb.Security.UserManagement
- Assembly
- Dynamicweb.Core.dll
public sealed class LogOnResult
- Inheritance
-
LogOnResult
- Inherited Members
Properties
AutoLogin
Gets or sets is auto-login enabled.
public bool AutoLogin { get; init; }
Property Value
Current
public static LogOnResult? Current { get; set; }
Property Value
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
MfaFailedCodeInputAttempts
Gets or sets number of failed code input attempts
public int MfaFailedCodeInputAttempts { get; init; }
Property Value
Password
Gets or sets the password used for authentication.
public string? Password { get; init; }
Property Value
Success
Gets success state.
[MemberNotNullWhen(true, "User")]
public bool Success { get; init; }
Property Value
- bool
trueif logon is successful; otherwisefalse.
User
Gets or sets the user associated with the provided username/password, if found.
public User? User { get; init; }
Property Value
Username
Gets or sets the username used for authentication.
public string? Username { get; init; }