TODO: Extract and add tests to refreshKeyStore

This commit is contained in:
Erik Larsson
2021-01-08 19:39:25 +01:00
parent 4323cc66f9
commit 67e60126bb
@@ -36,6 +36,7 @@ export class BackstageIdentityStrategy extends Strategy {
this.name = 'backstage';
}
// TODO(erilar): Move to its own module (IdentityClient?) and add tests
private async refreshKeyStore(rawJwtToken: string) {
const { header, payload } = JWT.decode(rawJwtToken, {
complete: true,