@@ -2,12 +2,12 @@ import { AxiosInstance, AxiosProxyConfig } from "axios";
22import * as querystringUtil from "querystring" ;
33import { createClient } from "../client/axios-client" ;
44import { JweUtil } from "../util" ;
5+ import { DateUtils } from "../util/DateUtils" ;
56import { SingpassMyInfoError } from "../util/error/SingpassMyinfoError" ;
6- import { logger } from "../util/Logger" ;
7- import { AuthInfo , EntityInfo , EserviceAuthResultRow , TokenResponse , TPAccessInfo , UserInfo } from "./shared-constants" ;
87import { Key } from "../util/KeyUtil" ;
8+ import { logger } from "../util/Logger" ;
99import { createClientAssertion } from "../util/SigningUtil" ;
10- import { DateUtils } from "../util/DateUtils " ;
10+ import { AuthInfo , EntityInfo , EserviceAuthResultRow , TokenResponse , TPAccessInfo , UserInfo } from "./shared-constants " ;
1111
1212interface AccessTokenPayload {
1313 exp : number ;
@@ -179,7 +179,7 @@ export class NdiOidcHelper {
179179 if ( error ) {
180180 throw error ;
181181 } else {
182- throw new SingpassMyInfoError ( ' could not verify with any key' ) ;
182+ throw new SingpassMyInfoError ( " could not verify with any key" ) ;
183183 }
184184 } catch ( e ) {
185185 logger . error ( "Failed to get access token payload" , e ) ;
@@ -219,7 +219,7 @@ export class NdiOidcHelper {
219219 if ( error ) {
220220 throw error ;
221221 } else {
222- throw new SingpassMyInfoError ( ' could not verify with any key' ) ;
222+ throw new SingpassMyInfoError ( " could not verify with any key" ) ;
223223 }
224224 } catch ( e ) {
225225 logger . error ( "Failed to get ID token payload" , e ) ;
0 commit comments