AuthorizationCodeInterface
- Full name:
\OAuth2\ResponseType\AuthorizationCodeInterface
- Parent interfaces:
\OAuth2\ResponseType\ResponseTypeInterface
Methods
enforceRedirect
Return Value:
if the grant type requires a redirect_uri, FALSE if not
createAuthorizationCode
Handle the creation of the authorization code.
public createAuthorizationCode(mixed $client_id, mixed $user_id, string $redirect_uri, string $scope = null): string
Parameters:
Parameter | Type | Description |
---|---|---|
$client_id |
mixed | - Client identifier related to the authorization code |
$user_id |
mixed | - User ID associated with the authorization code |
$redirect_uri |
string | - An absolute URI to which the authorization server will redirect the user-agent to when the end-user authorization step is completed. |
$scope |
string | - OPTIONAL Scopes to be stored in space-separated string. |
See Also:
- http://tools.ietf.org/html/rfc6749#section-4 -
Inherited methods
getAuthorizeResponse
Parameters:
Parameter | Type | Description |
---|---|---|
$params |
array | |
$user_id |
mixed |
Automatically generated on 2025-03-18