Table of Contents

Class AngelModel

Namespace
Dynamicweb.CoreUI.Rendering.Models
Assembly
Dynamicweb.CoreUI.Rendering.dll

Model representing the credentials and state for an Angel (privileged) login.

public sealed class AngelModel : LoginModelBase
Inheritance
AngelModel
Inherited Members

Constructors

AngelModel()

Initializes a new instance of the AngelModel class with predefined form action and visual settings.

public AngelModel()

Properties

Password

Gets or sets the password for the Angel login.

[Required]
public string? Password { get; set; }

Property Value

string

RememberMe

Gets or sets a value indicating whether the authentication session should persist beyond the current browser session.

public bool RememberMe { get; set; }

Property Value

bool

Remarks

When RememberMe is set to true (checked) then the login cookie will be stored on the current device with an expiration based on the "Valid for" setting ("/Globalsettings/Modules/Users/AutoLoginCookie/ValideForDays") - or default to 30 days. When RememberMe is set to false (unchecked) then the login cookie will be stored for the current browser session only. The same "Valid for" setting for both frontend(Dynamicweb.Extranet cookie) and backend(Dynamicweb.Admin cookie).

Username

Gets or sets the username for the Angel login.

[Required]
public string? Username { get; set; }

Property Value

string

Methods

ClearSensitiveData()

Clears sensitive credential data from the model instance.

public override void ClearSensitiveData()
To top