$storage
$storage :
__construct(\OAuth2\Storage\AuthorizationCodeInterface $storage, array $config = array())
| \OAuth2\Storage\AuthorizationCodeInterface | $storage | |
| array | $config |
createAuthorizationCode(mixed $client_id, mixed $user_id, string $redirect_uri, string $scope = null) : string
Handle the creation of the authorization code.
| mixed | $client_id | Client identifier related to the authorization code |
| mixed | $user_id | User ID associated with the authorization code |
| string | $redirect_uri | An absolute URI to which the authorization server will redirect the user-agent to when the end-user authorization step is completed. |
| string | $scope | (optional) Scopes to be stored in space-separated string. |