Table of Contents

Class OneTimeCodeEmailViewModel

Namespace
Dynamicweb.Users.Frontend.UserAuthentication.Email
Assembly
Dynamicweb.Users.dll

Represents the view model for one-time code authentication emails.

public sealed class OneTimeCodeEmailViewModel : AuthenticationEmailViewModelBase
Inheritance
OneTimeCodeEmailViewModel
Inherited Members

Remarks

Used when sending time-based one-time passwords (TOTP) to users.

Properties

Code

The one-time code to send to the user for authentication.

public required string Code { get; set; }

Property Value

string

CodeLifetime

The one-time code lifetime in seconds.

public int CodeLifetime { get; set; }

Property Value

int
To top