chore: clean up comments before opening PR
Signed-off-by: Ryan Hanchett <ryan.hanchett@invitae.com>
This commit is contained in:
-2
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user