enforceRedirect()
enforceRedirect() : TRUE
Returns
TRUE —if the grant type requires a redirect_uri, FALSE if not
createAuthorizationCode(mixed $client_id, mixed $user_id, string $redirect_uri, string $scope = null, string $id_token = null) : string
Handle the creation of the authorization code.
| mixed | $client_id |
|
| mixed | $user_id |
|
| string | $redirect_uri |
|
| string | $scope |
|
| string | $id_token |
|