App\Exceptions\OAuthExceptionHandler::unsupportedResponseType PHP Method

unsupportedResponseType() protected method

protected unsupportedResponseType ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
return mixed
    protected function unsupportedResponseType(OAuthException $e)
    {
        return Response::make(['errors' => ['status' => '400', 'code' => 'UnsupportedResponseType', 'title' => 'Unsupported Response Type', 'detail' => $e->getMessage()]], 400);
    }