- See also
- OAuth2\Controller\AuthorizeControllerInterface
Definition at line 14 of file AuthorizeController.php.
◆ __construct()
OAuth2\Controller\AuthorizeController::__construct |
( |
ClientInterface |
$clientStorage, |
|
|
array |
$responseTypes = array() , |
|
|
array |
$config = array() , |
|
|
ScopeInterface |
$scopeUtil = null |
|
) |
| |
- Parameters
-
OAuth2\Storage\ClientInterface | $clientStorage | REQUIRED Instance of OAuth2\Storage\ClientInterface to retrieve client information |
array | $responseTypes | OPTIONAL Array of OAuth2\ResponseType\ResponseTypeInterface objects. Valid array keys are "code" and "token" |
array | $config | OPTIONAL Configuration options for the server $config = array( 'allow_implicit' => false, // if the controller should allow the "implicit" grant type 'enforce_state' => true // if the controller should require the "state" parameter 'require_exact_redirect_uri' => true, // if the controller should require an exact match on the "redirect_uri" parameter 'redirect_status_code' => 302, // HTTP status code to use for redirect responses ); |
OAuth2\ScopeInterface | $scopeUtil | OPTIONAL Instance of OAuth2\ScopeInterface to validate the requested scope |
Definition at line 42 of file AuthorizeController.php.
◆ buildAuthorizeParameters()
OAuth2\Controller\AuthorizeController::buildAuthorizeParameters |
( |
|
$request, |
|
|
|
$response, |
|
|
|
$user_id |
|
) |
| |
|
protected |
◆ getClientId()
OAuth2\Controller\AuthorizeController::getClientId |
( |
| ) |
|
◆ getRedirectUri()
OAuth2\Controller\AuthorizeController::getRedirectUri |
( |
| ) |
|
◆ getResponseType()
OAuth2\Controller\AuthorizeController::getResponseType |
( |
| ) |
|
◆ getScope()
OAuth2\Controller\AuthorizeController::getScope |
( |
| ) |
|
Convenience methods to access the parameters derived from the validated request
Definition at line 359 of file AuthorizeController.php.
◆ getState()
OAuth2\Controller\AuthorizeController::getState |
( |
| ) |
|
◆ getValidResponseTypes()
OAuth2\Controller\AuthorizeController::getValidResponseTypes |
( |
| ) |
|
|
protected |
◆ handleAuthorizeRequest()
◆ setNotAuthorizedResponse()
◆ validateAuthorizeRequest()
◆ validateRedirectUri()
OAuth2\Controller\AuthorizeController::validateRedirectUri |
( |
|
$inputUri, |
|
|
|
$registeredUriString |
|
) |
| |
|
protected |
◆ $clientStorage
OAuth2\Controller\AuthorizeController::$clientStorage |
|
protected |
◆ $config
OAuth2\Controller\AuthorizeController::$config |
|
protected |
◆ $responseTypes
OAuth2\Controller\AuthorizeController::$responseTypes |
|
protected |
◆ $scopeUtil
OAuth2\Controller\AuthorizeController::$scopeUtil |
|
protected |
The documentation for this class was generated from the following file: