◆ __construct()
__construct |
( |
|
$config = array() | ) |
|
◆ _createDecryptionKey()
_createDecryptionKey |
( |
|
$time = null | ) |
|
|
private |
Creates a decryption key for use with the TOTP decryption method
- Paramètres
-
integer | $time | The timestamp used for TOTP calculation, leave empty to use current timestamp |
- Renvoie
- string THe encryption key
Références $key.
◆ _decryptWithTOTP()
_decryptWithTOTP |
( |
|
$encryptedData | ) |
|
|
private |
Decrypts a transparent authentication message using a TOTP
- Paramètres
-
string | $encryptedData | The encrypted data |
- Renvoie
- array The decrypted data
Références $i, et null.
◆ dispatch()
The main code of the Dispatcher. It spawns the necessary controller and runs it.
- Exceptions
-
- Renvoie
- void|Exception
Références $config, $controller, $format, $input, $option, $task, $view, elseif, FOFPlatform\getInstance(), FOFController\getTmpInstance(), null, FOFInflector\pluralize(), et FOFInflector\singularize().
◆ getAnInstance()
static& getAnInstance |
( |
|
$option = null , |
|
|
|
$view = null , |
|
|
|
$config = array() |
|
) |
| |
|
static |
Get a static (Singleton) instance of a particular Dispatcher
- Paramètres
-
string | $option | The component name |
string | $view | The View name |
array | $config | Configuration data |
array $instances Holds the array of Dispatchers FOF knows about
- Renvoie
- FOFDispatcher
Références $config, $hash, $option, et $view.
◆ getTask()
◆ getTmpInstance()
static& getTmpInstance |
( |
|
$option = null , |
|
|
|
$view = null , |
|
|
|
$config = array() |
|
) |
| |
|
static |
◆ isCliAdmin()
◆ onAfterDispatch()
Executes right after the dispatcher runs the controller.
- Renvoie
- boolean Return false to abort
Références FOFPlatform\getInstance().
◆ onBeforeDispatch()
Executes right before the dispatcher tries to instantiate and run the controller.
- Renvoie
- boolean Return false to abort
◆ onBeforeDispatchCLI()
◆ transparentAuthentication()
transparentAuthentication |
( |
| ) |
|
◆ $_fofAuth_CryptoKey
◆ $_fofAuth_isLoggedIn
$_fofAuth_isLoggedIn = false |
|
private |
◆ $config
◆ $defaultView
◆ $fofAuth_AuthMethods
Valeur initiale := array(
'HTTPBasicAuth_TOTP',
'QueryString_TOTP',
'HTTPBasicAuth_Plaintext',
'QueryString_Plaintext',
'SplitQueryString_Plaintext',
)
◆ $fofAuth_Formats
$fofAuth_Formats = array('json', 'csv', 'xml', 'raw') |
|
protected |
◆ $fofAuth_Key
◆ $fofAuth_LogoutOnReturn
$fofAuth_LogoutOnReturn = true |
|
protected |
◆ $fofAuth_timeStep
◆ $input
La documentation de cette classe a été générée à partir du fichier suivant :