()
| 125 | // Lazy so the compliance test JWKS isn't read at module import time. |
| 126 | let _signingAuth: Authenticator | null = null; |
| 127 | function lazySigningAuth(): Authenticator { |
| 128 | return (req) => { |
| 129 | if (!_signingAuth) _signingAuth = buildRequestSigningAuthenticator(); |
| 130 | return _signingAuth(req); |
| 131 | }; |
| 132 | } |
| 133 | |
| 134 | let _strictSigningAuth: Authenticator | null = null; |
| 135 | function lazyStrictSigningAuth(): Authenticator { |
no test coverage detected