Skip to content

Commit

Permalink
chore: cleanup (#35)
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Termont <[email protected]>
  • Loading branch information
termontwouter committed Mar 12, 2024
1 parent 7e7a6c7 commit 94e8cf4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 175 deletions.
140 changes: 0 additions & 140 deletions packages/css/src/identity/configuration/InMemoryJwksKeyHolder.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/css/src/identity/configuration/JwksKeyHolder.ts

This file was deleted.

5 changes: 4 additions & 1 deletion packages/css/src/uma/UmaClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { KeyValueStorage, Representation, ResourceIdentifier } from "@solid
import { AccessMap, getLoggerFor, InternalServerError, JwkGenerator, NotFoundHttpError } from "@solid/community-server";
import { JWTPayload, decodeJwt, createRemoteJWKSet, jwtVerify, JWTVerifyOptions } from "jose";
import { httpbis, type SigningKey, type Request as SignRequest } from 'http-message-signatures';
import { isString } from '../util/StringGuard';
import fetch from 'cross-fetch';
import type { Fetcher } from "../util/fetch/Fetcher";
import crypto from 'node:crypto';
Expand Down Expand Up @@ -338,3 +337,7 @@ export class UmaClient {
});
}
}

function isString(value: any): value is string {
return typeof value === 'string' || value instanceof String;
}
10 changes: 0 additions & 10 deletions packages/css/src/util/StringGuard.test.ts

This file was deleted.

8 changes: 0 additions & 8 deletions packages/css/src/util/StringGuard.ts

This file was deleted.

0 comments on commit 94e8cf4

Please sign in to comment.