Features
class Features
Methods
Determine if the given feature is enabled.
Determine if the feature is enabled and has a given option enabled.
Get an option for the given feature.
Get all options for the given feature.
Determine if the application is using any features that require "profile" management.
Determine if the application can update a user's profile information.
Determine if the application is using any security profile features.
Determine if the application can update user passwords.
Determine if the application can manage two factor authentication.
Determine if the application can manage passkeys.
Enable the registration feature.
Enable the password reset feature.
Enable the email verification feature.
Enable the update profile information feature.
Enable the update password feature.
Enable the two factor authentication feature.
Enable the passkeys feature.
Details
at line 16
static bool
enabled(string $feature)
Determine if the given feature is enabled.
at line 24
static bool
optionEnabled(string $feature, string $option)
Determine if the feature is enabled and has a given option enabled.
at line 33
static mixed
option(string $feature, string $option, mixed $default = null)
Get an option for the given feature.
at line 43
static array
options(string $feature)
Get all options for the given feature.
at line 51
static bool
hasProfileFeatures()
Determine if the application is using any features that require "profile" management.
at line 62
static bool
canUpdateProfileInformation()
Determine if the application can update a user's profile information.
at line 70
static bool
hasSecurityFeatures()
Determine if the application is using any security profile features.
at line 80
static bool
canUpdatePasswords()
Determine if the application can update user passwords.
at line 88
static bool
canManageTwoFactorAuthentication()
Determine if the application can manage two factor authentication.
at line 96
static bool
canManagePasskeys()
Determine if the application can manage passkeys.
at line 104
static string
registration()
Enable the registration feature.
at line 112
static string
resetPasswords()
Enable the password reset feature.
at line 120
static string
emailVerification()
Enable the email verification feature.
at line 128
static string
updateProfileInformation()
Enable the update profile information feature.
at line 136
static string
updatePasswords()
Enable the update password feature.
at line 149
static string
twoFactorAuthentication(array $options = [])
Enable the two factor authentication feature.
Non-empty options mutate the process-global configuration repository and affect every subsequent request in the worker.
at line 165
static string
passkeys(array $options = [])
Enable the passkeys feature.
Non-empty options mutate the process-global configuration repository and affect every subsequent request in the worker.