Table of Contents

Class PasswordRecoveryTokenSettings

Namespace
Dynamicweb.Security.UserManagement
Assembly
Dynamicweb.Core.dll

Reads the password recovery token lifetime configured in the extranet password security settings.

public static class PasswordRecoveryTokenSettings
Inheritance
PasswordRecoveryTokenSettings
Inherited Members

Methods

GetExpiration()

Gets how long a password recovery token is valid. The setting is stored in hours.

public static TimeSpan GetExpiration()

Returns

TimeSpan

The configured lifetime, 24 hours if not set, never more than 7 days.

To top