App\Exceptions\OAuthExceptionHandler::invalidScope PHP Метод

invalidScope() защищенный Метод

protected invalidScope ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed
$e League\OAuth2\Server\Exception\OAuthException
Результат mixed
    protected function invalidScope(OAuthException $e)
    {
        return Response::make(['errors' => ['status' => '400', 'code' => 'InvalidScope', 'title' => 'Invalid Scope', 'detail' => $e->getMessage()]], 400);
    }