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. |
UserOptions | Gets or sets the user options. |
LoginOptions | Gets or sets the login options. |
PasswordOptions | Gets or sets the password options. |
LockoutOptions | Gets or sets the lockout options. |
UIOptions | Gets or sets the UI options. |
Events
Name | Description |
---|---|
OnGetClient | OnGetClient event is used to accept and configure client apps dynamically. |
OnConfigureToken | Allows for customization of the generated access and identity token. |
OnGetSigningData | Event triggered when the signing data is requested. |
OnGenerateEmailConfirmationToken | Event triggered when an email confirmation token is generated and must be sent to the user. |
OnGeneratePhoneNumberConfirmationToken | Event triggered when a phone number confirmation token is generated and must be sent to the user. |
OnGeneratePasswordResetToken | Event triggered when a password reset token is generated and must be sent to the user. |
OnUserCreated | Event triggered when a user is created. |
OnUserEmailChanged | Event triggered when a user's email is changed. |
OnUserPhoneNumberChanged | Event triggered when a user's phone number is changed. |
OnUserEmailVerified | Event triggered when a user's email is verified. |
OnUserPhoneNumberVerified | Event triggered when a user's phone number is verified. |
OnUserPasswordChanged | Event triggered when a user's password is changed. |