Table of Contents

TSphinxConfig Class

Holds the configuration for the Sphinx server.

Remarks

TSphinxConfig is a key component for Sphinx to work properly. This is where most server configuration take place. Client applications should be registered using Clients property. Several options and events are also available.

Syntax

Unit: Sphinx.Comp.Config

TSphinxConfig = class(TComponent);

Properties

Name Description
Clients Holds the list of valid client applications.
LockoutOptions Gets or sets the lockout options.
LoginOptions Gets or sets the login options.
PasswordOptions Gets or sets the password options.
UIOptions Gets or sets the UI options.
UserOptions Gets or sets the user options.

Events

Name Description
OnConfigureToken Allows for customization of the generated access and identity token.
OnGenerateEmail​Confirmation​Token Event triggered when an email confirmation token is generated and must be sent to the user.
OnGeneratePassword​Reset​Token Event triggered when a password reset token is generated and must be sent to the user.
OnGeneratePhone​Number​Confirmation​Token Event triggered when a phone number confirmation token is generated and must be sent to the user.
OnGetClient OnGetClient event is used to accept and configure client apps dynamically.
OnGetSigningData Event triggered when the signing data is requested.
OnUserCreated Event triggered when a user is created.
OnUserEmailChanged Event triggered when a user's email is changed.
OnUserEmailVerified Event triggered when a user's email is verified.
OnUserPassword​Changed Event triggered when a user's password is changed.
OnUserPhoneNumber​Changed Event triggered when a user's phone number is changed.
OnUserPhoneNumber​Verified Event triggered when a user's phone number is verified.