protected accessDenied ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed | ||
$e | League\OAuth2\Server\Exception\OAuthException | |
return | mixed |
protected function accessDenied(OAuthException $e)
{
return Response::make(['errors' => ['status' => '401', 'code' => 'AccessDenied', 'title' => 'Access Denied', 'detail' => "The resource owner or authorization server denied the request."]], 401);
}