Méthode | Description | |
---|---|---|
before ( |
Middleware function to check whether a user is logged on. | |
connect ( Silex\Application $app ) |
Méthode | Description | |
---|---|---|
login ( ) : |
Returns the Login object. | |
password ( ) : |
Returns the Password object. | |
render ( $template, array $context = [], array $globals = [] ) | ||
setAuthenticationCookie ( |
Set the authentication cookie in the response. |
Méthode | Description | |
---|---|---|
checkFirstUser ( Silex\Application $app, mixed $route ) : null | true | |
Check and handle first user set up. | |
getRoutePermission ( string $route ) : string | Temporary hack to get the permission name associated with the route. |
public before ( |
||
$request | The Symfony Request | |
$app | Silex\Application | The application/container |
$roleRoute | string | An overriding value for the route name in permission checks |
Résultat | null | |
protected login ( ) : |
||
Résultat |
protected password ( ) : |
||
Résultat |
protected setAuthenticationCookie ( |
||
$request | ||
$response | ||
$token | string | |
Résultat |