PHP Class Neos\Flow\Security\Authentication\EntryPoint\WebRedirect

Inheritance: extends AbstractEntryPoint
显示文件 Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$uriBuilder Neos\Flow\Mvc\Routing\UriBuilder

Public Methods

Method Description
startAuthentication ( Request $request, Response $response ) : void Starts the authentication: Redirect to login page

Protected Methods

Method Description
extractRouteValue ( array &$routeValues, string $key ) : mixed Returns the entry $key from the array $routeValues removing the original array item.

Method Details

extractRouteValue() protected method

If $key does not exist, NULL is returned.
protected extractRouteValue ( array &$routeValues, string $key ) : mixed
$routeValues array
$key string
return mixed the specified route value or NULL if it is not set

startAuthentication() public method

Starts the authentication: Redirect to login page
public startAuthentication ( Request $request, Response $response ) : void
$request Neos\Flow\Http\Request The current request
$response Neos\Flow\Http\Response The current response
return void

Property Details

$uriBuilder protected_oe property

protected UriBuilder,Neos\Flow\Mvc\Routing $uriBuilder
return Neos\Flow\Mvc\Routing\UriBuilder