Table of Contents

TLoginOptions Class

Manages login options for user authentication. This class includes settings to control how users can log in, including requirements for email and phone number confirmation, the uniqueness of emails, and the methods by which users can identify themselves.

Syntax

Unit: Sphinx.Options

TLoginOptions = class(TPersistent);

Properties

Name Description
RequireConfirmed​Email Requires users to have confirmed their email to log in.
RequireUniqueEmail Requires each user to have a unique email address.
RequireConfirmed​Phone​Number Requires users to have confirmed their phone number to log in.
ForbidSelfRegistration Determines whether users are allowed to register themselves.
UseEmail Allows users to log in using their email address.
UsePhoneNumber Allows users to log in using their phone number.
UseUserName Allows users to log in using their username.
RequireTwoFactor Require users to login using two factor authentication.