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
ForbidSelfRegistration Determines whether users are allowed to register themselves.
RequireConfirmed​Email Requires users to have confirmed their email to log in.
RequireConfirmed​Phone​Number Requires users to have confirmed their phone number to log in.
RequireTwoFactor Require users to login using two factor authentication.
RequireUniqueEmail Requires each user to have a unique email address.
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.