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 15
static bool
enabled(string $feature)
Determine if the given feature is enabled.
at line 23
static bool
optionEnabled(string $feature, string $option)
Determine if the feature is enabled and has a given option enabled.
at line 32
static mixed
option(string $feature, string $option, mixed $default = null)
Get an option for the given feature.
at line 42
static array
options(string $feature)
Get all options for the given feature.
at line 50
static bool
hasProfileFeatures()
Determine if the application is using any features that require "profile" management.
at line 61
static bool
canUpdateProfileInformation()
Determine if the application can update a user's profile information.
at line 69
static bool
hasSecurityFeatures()
Determine if the application is using any security profile features.
at line 79
static bool
canUpdatePasswords()
Determine if the application can update user passwords.
at line 87
static bool
canManageTwoFactorAuthentication()
Determine if the application can manage two factor authentication.
at line 95
static bool
canManagePasskeys()
Determine if the application can manage passkeys.
at line 103
static string
registration()
Enable the registration feature.
at line 111
static string
resetPasswords()
Enable the password reset feature.
at line 119
static string
emailVerification()
Enable the email verification feature.
at line 127
static string
updateProfileInformation()
Enable the update profile information feature.
at line 135
static string
updatePasswords()
Enable the update password feature.
at line 145
static string
twoFactorAuthentication(array $options = [])
Enable the two factor authentication feature.
at line 157
static string
passkeys(array $options = [])
Enable the passkeys feature.