private createAuthCode ( OAuth2\Model\IOAuth2Client $client, mixed $data, string $redirectUri, string $scope = null ) : string | ||
$client | OAuth2\Model\IOAuth2Client | Client related to the access token. |
$data | mixed | |
$redirectUri | 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. |
Результат | string |