TwoFactorConfiguration
in package
Configuration settings for 2-factor authentication.
Tags
Table of Contents
- $isSelfService : bool
- $loginHandler : SelfServiceLoginHandler|null
- $twoFactorAllowToRememberDevice : bool
- $twoFactorAuthentication : string|null
- $twoFactorAuthenticationClientId : string|null
- $twoFactorAuthenticationInsecure : bool
- $twoFactorAuthenticationOptional : bool
- $twoFactorAuthenticationSecretKey : string|null
- $twoFactorAuthenticationSerialAttributeName : string|null
- $twoFactorAuthenticationURL : string|array<string|int, mixed>
- $twoFactorRememberDeviceDuration : string
- $twoFactorRememberDevicePassword : string
Properties
$isSelfService
public
bool
$isSelfService
= false
is self service
$loginHandler
public
SelfServiceLoginHandler|null
$loginHandler
= null
login handler
$twoFactorAllowToRememberDevice
public
bool
$twoFactorAllowToRememberDevice
= false
allow to remember 2nd factor
$twoFactorAuthentication
public
string|null
$twoFactorAuthentication
= null
provider id
$twoFactorAuthenticationClientId
public
string|null
$twoFactorAuthenticationClientId
= null
client ID for API access
$twoFactorAuthenticationInsecure
public
bool
$twoFactorAuthenticationInsecure
= false
disable certificate check
$twoFactorAuthenticationOptional
public
bool
$twoFactorAuthenticationOptional
= false
2FA is optional
$twoFactorAuthenticationSecretKey
public
string|null
$twoFactorAuthenticationSecretKey
= null
secret key for API access
$twoFactorAuthenticationSerialAttributeName
public
string|null
$twoFactorAuthenticationSerialAttributeName
= null
LDAP attribute name that stores the token serials
$twoFactorAuthenticationURL
public
string|array<string|int, mixed>
$twoFactorAuthenticationURL
service URL(s)
$twoFactorRememberDeviceDuration
public
string
$twoFactorRememberDeviceDuration
= ''
duration for remembering
$twoFactorRememberDevicePassword
public
string
$twoFactorRememberDevicePassword
= ''
password for remembering