chore: clean up comments before opening PR

Signed-off-by: Ryan Hanchett <ryan.hanchett@invitae.com>
This commit is contained in:
Ryan Hanchett
2024-05-07 14:08:45 -07:00
parent 398b82a368
commit 9b0db3f495
2 changed files with 0 additions and 3 deletions
@@ -28,8 +28,6 @@ interface AnyJWK extends Record<string, string> {
kty: string;
}
// Simplified copy of TokenFactory in @backstage/plugin-auth-backend
// Since this is re-used in several tests, I wonder if it should get refactored
// into @backstage/backend-test-utils
class FakeTokenFactory {
private readonly keys = new Array<AnyJWK>();
@@ -34,7 +34,6 @@ export class JWKSHandler implements TokenHandler {
add(options: Config) {
const algorithms = options.getOptionalStringArray('algorithms') ?? [];
const issuers = options.getOptionalStringArray('issuers') ?? [];
// if audience is unset, an empty string is valid, but an empty array is not
const audiences = options.getOptionalStringArray('audiences') ?? '';
const uri = options.getString('uri');