Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

angular-oauth2-oidc

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-oauth2-oidc - npm Package Compare versions

Comparing version 12.0.2 to 12.1.0

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"OAuthModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":23,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":12}],"declarations":[],"exports":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config","validationHandlerClass"],"defaults":[null,{"__symbolic":"reference","name":"NullValidationHandler"}],"value":{"ngModule":{"__symbolic":"reference","name":"OAuthModule"},"providers":[{"__symbolic":"reference","name":"OAuthService"},{"__symbolic":"reference","name":"UrlHelperService"},{"provide":{"__symbolic":"reference","name":"OAuthLogger"},"useFactory":{"__symbolic":"reference","name":"ɵa"}},{"provide":{"__symbolic":"reference","name":"OAuthStorage"},"useFactory":{"__symbolic":"reference","name":"ɵb"}},{"provide":{"__symbolic":"reference","name":"ValidationHandler"},"useClass":{"__symbolic":"reference","name":"validationHandlerClass"}},{"provide":{"__symbolic":"reference","name":"HashHandler"},"useClass":{"__symbolic":"reference","name":"DefaultHashHandler"}},{"provide":{"__symbolic":"reference","name":"OAuthResourceServerErrorHandler"},"useClass":{"__symbolic":"reference","name":"OAuthNoopResourceServerErrorHandler"}},{"provide":{"__symbolic":"reference","name":"OAuthModuleConfig"},"useValue":{"__symbolic":"reference","name":"config"}},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":48,"character":19},"useClass":{"__symbolic":"reference","name":"DefaultOAuthInterceptor"},"multi":true},{"provide":{"__symbolic":"reference","name":"DateTimeProvider"},"useClass":{"__symbolic":"reference","name":"SystemDateTimeProvider"}}]}}}},"OAuthService":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AuthConfig"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":60,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":117,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":118,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":119,"character":5}}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":122,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":123,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":123,"character":12}]}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":115,"character":22},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":116,"character":20},{"__symbolic":"reference","name":"OAuthStorage"},{"__symbolic":"reference","name":"ValidationHandler"},{"__symbolic":"reference","name":"AuthConfig"},{"__symbolic":"reference","name":"UrlHelperService"},{"__symbolic":"reference","name":"OAuthLogger"},{"__symbolic":"reference","name":"HashHandler"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DateTimeProvider"}]}],"configure":[{"__symbolic":"method"}],"configChanged":[{"__symbolic":"method"}],"restartSessionChecksIfStillLoggedIn":[{"__symbolic":"method"}],"restartRefreshTimerIfStillLoggedIn":[{"__symbolic":"method"}],"setupSessionCheck":[{"__symbolic":"method"}],"setupAutomaticSilentRefresh":[{"__symbolic":"method"}],"refreshInternal":[{"__symbolic":"method"}],"loadDiscoveryDocumentAndTryLogin":[{"__symbolic":"method"}],"loadDiscoveryDocumentAndLogin":[{"__symbolic":"method"}],"debug":[{"__symbolic":"method"}],"validateUrlFromDiscoveryDocument":[{"__symbolic":"method"}],"validateUrlForHttps":[{"__symbolic":"method"}],"assertUrlNotNullAndCorrectProtocol":[{"__symbolic":"method"}],"validateUrlAgainstIssuer":[{"__symbolic":"method"}],"setupRefreshTimer":[{"__symbolic":"method"}],"setupExpirationTimers":[{"__symbolic":"method"}],"setupAccessTokenTimer":[{"__symbolic":"method"}],"setupIdTokenTimer":[{"__symbolic":"method"}],"stopAutomaticRefresh":[{"__symbolic":"method"}],"clearAccessTokenTimer":[{"__symbolic":"method"}],"clearIdTokenTimer":[{"__symbolic":"method"}],"clearAutomaticRefreshTimer":[{"__symbolic":"method"}],"calcTimeout":[{"__symbolic":"method"}],"setStorage":[{"__symbolic":"method"}],"loadDiscoveryDocument":[{"__symbolic":"method"}],"loadJwks":[{"__symbolic":"method"}],"validateDiscoveryDocument":[{"__symbolic":"method"}],"fetchTokenUsingPasswordFlowAndLoadUserProfile":[{"__symbolic":"method"}],"loadUserProfile":[{"__symbolic":"method"}],"fetchTokenUsingPasswordFlow":[{"__symbolic":"method"}],"fetchTokenUsingGrant":[{"__symbolic":"method"}],"refreshToken":[{"__symbolic":"method"}],"removeSilentRefreshEventListener":[{"__symbolic":"method"}],"setupSilentRefreshEventListener":[{"__symbolic":"method"}],"silentRefresh":[{"__symbolic":"method"}],"initImplicitFlowInPopup":[{"__symbolic":"method"}],"initLoginFlowInPopup":[{"__symbolic":"method"}],"calculatePopupFeatures":[{"__symbolic":"method"}],"processMessageEventMessage":[{"__symbolic":"method"}],"canPerformSessionCheck":[{"__symbolic":"method"}],"setupSessionCheckEventListener":[{"__symbolic":"method"}],"handleSessionUnchanged":[{"__symbolic":"method"}],"handleSessionChange":[{"__symbolic":"method"}],"waitForSilentRefreshAfterSessionChange":[{"__symbolic":"method"}],"handleSessionError":[{"__symbolic":"method"}],"removeSessionCheckEventListener":[{"__symbolic":"method"}],"initSessionCheck":[{"__symbolic":"method"}],"startSessionCheckTimer":[{"__symbolic":"method"}],"stopSessionCheckTimer":[{"__symbolic":"method"}],"checkSession":[{"__symbolic":"method"}],"createLoginUrl":[{"__symbolic":"method"}],"initImplicitFlowInternal":[{"__symbolic":"method"}],"initImplicitFlow":[{"__symbolic":"method"}],"resetImplicitFlow":[{"__symbolic":"method"}],"callOnTokenReceivedIfExists":[{"__symbolic":"method"}],"storeAccessTokenResponse":[{"__symbolic":"method"}],"tryLogin":[{"__symbolic":"method"}],"parseQueryString":[{"__symbolic":"method"}],"tryLoginCodeFlow":[{"__symbolic":"method"}],"getCodePartsFromUrl":[{"__symbolic":"method"}],"getTokenFromCode":[{"__symbolic":"method"}],"fetchAndProcessToken":[{"__symbolic":"method"}],"tryLoginImplicitFlow":[{"__symbolic":"method"}],"parseState":[{"__symbolic":"method"}],"validateNonce":[{"__symbolic":"method"}],"storeIdToken":[{"__symbolic":"method"}],"storeSessionState":[{"__symbolic":"method"}],"getSessionState":[{"__symbolic":"method"}],"handleLoginError":[{"__symbolic":"method"}],"getClockSkewInMsec":[{"__symbolic":"method"}],"processIdToken":[{"__symbolic":"method"}],"getIdentityClaims":[{"__symbolic":"method"}],"getGrantedScopes":[{"__symbolic":"method"}],"getIdToken":[{"__symbolic":"method"}],"padBase64":[{"__symbolic":"method"}],"getAccessToken":[{"__symbolic":"method"}],"getRefreshToken":[{"__symbolic":"method"}],"getAccessTokenExpiration":[{"__symbolic":"method"}],"getAccessTokenStoredAt":[{"__symbolic":"method"}],"getIdTokenStoredAt":[{"__symbolic":"method"}],"getIdTokenExpiration":[{"__symbolic":"method"}],"hasValidAccessToken":[{"__symbolic":"method"}],"hasValidIdToken":[{"__symbolic":"method"}],"getCustomTokenResponseProperty":[{"__symbolic":"method"}],"authorizationHeader":[{"__symbolic":"method"}],"logOut":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"createAndSaveNonce":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"createNonce":[{"__symbolic":"method"}],"checkAtHash":[{"__symbolic":"method"}],"checkSignature":[{"__symbolic":"method"}],"initLoginFlow":[{"__symbolic":"method"}],"initCodeFlow":[{"__symbolic":"method"}],"initCodeFlowInternal":[{"__symbolic":"method"}],"createChallangeVerifierPairForPKCE":[{"__symbolic":"method"}],"extractRecognizedCustomParameters":[{"__symbolic":"method"}],"revokeTokenAndLogout":[{"__symbolic":"method"}],"clearLocationHash":[{"__symbolic":"method"}]}},"JwksValidationHandler":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NullValidationHandler"},"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"NullValidationHandler":{"__symbolic":"class","members":{"validateSignature":[{"__symbolic":"method"}],"validateAtHash":[{"__symbolic":"method"}]}},"ValidationParams":{"__symbolic":"interface"},"ValidationHandler":{"__symbolic":"class","members":{"validateSignature":[{"__symbolic":"method"}],"validateAtHash":[{"__symbolic":"method"}]}},"AbstractValidationHandler":{"__symbolic":"class","members":{"validateSignature":[{"__symbolic":"method"}],"validateAtHash":[{"__symbolic":"method"}],"inferHashAlgorithm":[{"__symbolic":"method"}],"calcHash":[{"__symbolic":"method"}]}},"UrlHelperService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1}}],"members":{"getHashFragmentParams":[{"__symbolic":"method"}],"parseQueryString":[{"__symbolic":"method"}]}},"AuthConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":259,"character":21,"context":{"typeName":"Partial"},"module":"./auth.config"}]}]}},"LoginOptions":{"__symbolic":"class","members":{}},"OAuthLogger":{"__symbolic":"class","members":{"debug":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"log":[{"__symbolic":"method"}],"warn":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}]}},"OAuthStorage":{"__symbolic":"class","members":{"getItem":[{"__symbolic":"method"}],"removeItem":[{"__symbolic":"method"}],"setItem":[{"__symbolic":"method"}]}},"MemoryStorage":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":102,"character":1}}],"members":{"getItem":[{"__symbolic":"method"}],"removeItem":[{"__symbolic":"method"}],"setItem":[{"__symbolic":"method"}]}},"ReceivedTokens":{"__symbolic":"class","members":{}},"ParsedIdToken":{"__symbolic":"interface"},"TokenResponse":{"__symbolic":"interface"},"UserInfo":{"__symbolic":"interface"},"OidcDiscoveryDoc":{"__symbolic":"interface"},"AUTH_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":31},"arguments":["AUTH_CONFIG"]},"EventType":{"__symbolic":"interface"},"OAuthEvent":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":28,"character":29,"context":{"typeName":"EventType"},"module":"./events"}]}]}},"OAuthSuccessEvent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"OAuthEvent"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":32,"character":20,"context":{"typeName":"EventType"},"module":"./events"},{"__symbolic":"reference","name":"any"}]}]}},"OAuthInfoEvent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"OAuthEvent"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":20,"context":{"typeName":"EventType"},"module":"./events"},{"__symbolic":"reference","name":"any"}]}]}},"OAuthErrorEvent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"OAuthEvent"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":45,"character":10,"context":{"typeName":"EventType"},"module":"./events"},{"__symbolic":"error","message":"Expression form not supported","line":46,"character":21,"module":"./events"},{"__symbolic":"error","message":"Expression form not supported","line":47,"character":21,"module":"./events"}]}]}},"DefaultOAuthInterceptor":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":21,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":26,"character":5}}]],"parameters":[{"__symbolic":"reference","name":"OAuthService"},{"__symbolic":"reference","name":"OAuthResourceServerErrorHandler"},{"__symbolic":"reference","name":"OAuthModuleConfig"}]}],"checkUrl":[{"__symbolic":"method"}],"intercept":[{"__symbolic":"method"}]}},"OAuthResourceServerErrorHandler":{"__symbolic":"class","members":{"handleError":[{"__symbolic":"method"}]}},"OAuthNoopResourceServerErrorHandler":{"__symbolic":"class","members":{"handleError":[{"__symbolic":"method"}]}},"OAuthModuleConfig":{"__symbolic":"class","members":{}},"OAuthResourceServerConfig":{"__symbolic":"class","members":{}},"DateTimeProvider":{"__symbolic":"class","members":{"now":[{"__symbolic":"method"}],"new":[{"__symbolic":"method"}]}},"SystemDateTimeProvider":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"DateTimeProvider"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"now":[{"__symbolic":"method"}],"new":[{"__symbolic":"method"}]}},"HashHandler":{"__symbolic":"class","members":{"calcHash":[{"__symbolic":"method"}]}},"DefaultHashHandler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1}}],"members":{"calcHash":[{"__symbolic":"method"}],"toHashString2":[{"__symbolic":"method"}],"toHashString":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"reference","name":"console"}},"ɵb":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":7,"character":9,"module":"./factories"},"right":"undefined"},"thenExpression":{"__symbolic":"reference","name":"sessionStorage"},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"MemoryStorage"}}}}},"origins":{"OAuthModule":"./angular-oauth-oidc.module","OAuthService":"./oauth-service","JwksValidationHandler":"./token-validation/jwks-validation-handler","NullValidationHandler":"./token-validation/null-validation-handler","ValidationParams":"./token-validation/validation-handler","ValidationHandler":"./token-validation/validation-handler","AbstractValidationHandler":"./token-validation/validation-handler","UrlHelperService":"./url-helper.service","AuthConfig":"./auth.config","LoginOptions":"./types","OAuthLogger":"./types","OAuthStorage":"./types","MemoryStorage":"./types","ReceivedTokens":"./types","ParsedIdToken":"./types","TokenResponse":"./types","UserInfo":"./types","OidcDiscoveryDoc":"./types","AUTH_CONFIG":"./tokens","EventType":"./events","OAuthEvent":"./events","OAuthSuccessEvent":"./events","OAuthInfoEvent":"./events","OAuthErrorEvent":"./events","DefaultOAuthInterceptor":"./interceptors/default-oauth.interceptor","OAuthResourceServerErrorHandler":"./interceptors/resource-server-error-handler","OAuthNoopResourceServerErrorHandler":"./interceptors/resource-server-error-handler","OAuthModuleConfig":"./oauth-module.config","OAuthResourceServerConfig":"./oauth-module.config","DateTimeProvider":"./date-time-provider","SystemDateTimeProvider":"./date-time-provider","HashHandler":"./token-validation/hash-handler","DefaultHashHandler":"./token-validation/hash-handler","ɵa":"./factories","ɵb":"./factories"},"importAs":"angular-oauth2-oidc"}
{"__symbolic":"module","version":4,"metadata":{"OAuthModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":23,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":24,"character":12}],"declarations":[],"exports":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["config","validationHandlerClass"],"defaults":[null,{"__symbolic":"reference","name":"NullValidationHandler"}],"value":{"ngModule":{"__symbolic":"reference","name":"OAuthModule"},"providers":[{"__symbolic":"reference","name":"OAuthService"},{"__symbolic":"reference","name":"UrlHelperService"},{"provide":{"__symbolic":"reference","name":"OAuthLogger"},"useFactory":{"__symbolic":"reference","name":"ɵa"}},{"provide":{"__symbolic":"reference","name":"OAuthStorage"},"useFactory":{"__symbolic":"reference","name":"ɵb"}},{"provide":{"__symbolic":"reference","name":"ValidationHandler"},"useClass":{"__symbolic":"reference","name":"validationHandlerClass"}},{"provide":{"__symbolic":"reference","name":"HashHandler"},"useClass":{"__symbolic":"reference","name":"DefaultHashHandler"}},{"provide":{"__symbolic":"reference","name":"OAuthResourceServerErrorHandler"},"useClass":{"__symbolic":"reference","name":"OAuthNoopResourceServerErrorHandler"}},{"provide":{"__symbolic":"reference","name":"OAuthModuleConfig"},"useValue":{"__symbolic":"reference","name":"config"}},{"provide":{"__symbolic":"reference","module":"@angular/common/http","name":"HTTP_INTERCEPTORS","line":48,"character":19},"useClass":{"__symbolic":"reference","name":"DefaultOAuthInterceptor"},"multi":true},{"provide":{"__symbolic":"reference","name":"DateTimeProvider"},"useClass":{"__symbolic":"reference","name":"SystemDateTimeProvider"}}]}}}},"OAuthService":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"AuthConfig"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":60,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":117,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":118,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":119,"character":5}}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":122,"character":5}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":123,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":123,"character":12}]}],null],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":115,"character":22},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":116,"character":20},{"__symbolic":"reference","name":"OAuthStorage"},{"__symbolic":"reference","name":"ValidationHandler"},{"__symbolic":"reference","name":"AuthConfig"},{"__symbolic":"reference","name":"UrlHelperService"},{"__symbolic":"reference","name":"OAuthLogger"},{"__symbolic":"reference","name":"HashHandler"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DateTimeProvider"}]}],"configure":[{"__symbolic":"method"}],"configChanged":[{"__symbolic":"method"}],"restartSessionChecksIfStillLoggedIn":[{"__symbolic":"method"}],"restartRefreshTimerIfStillLoggedIn":[{"__symbolic":"method"}],"setupSessionCheck":[{"__symbolic":"method"}],"setupAutomaticSilentRefresh":[{"__symbolic":"method"}],"refreshInternal":[{"__symbolic":"method"}],"loadDiscoveryDocumentAndTryLogin":[{"__symbolic":"method"}],"loadDiscoveryDocumentAndLogin":[{"__symbolic":"method"}],"debug":[{"__symbolic":"method"}],"validateUrlFromDiscoveryDocument":[{"__symbolic":"method"}],"validateUrlForHttps":[{"__symbolic":"method"}],"assertUrlNotNullAndCorrectProtocol":[{"__symbolic":"method"}],"validateUrlAgainstIssuer":[{"__symbolic":"method"}],"setupRefreshTimer":[{"__symbolic":"method"}],"setupExpirationTimers":[{"__symbolic":"method"}],"setupAccessTokenTimer":[{"__symbolic":"method"}],"setupIdTokenTimer":[{"__symbolic":"method"}],"stopAutomaticRefresh":[{"__symbolic":"method"}],"clearAccessTokenTimer":[{"__symbolic":"method"}],"clearIdTokenTimer":[{"__symbolic":"method"}],"clearAutomaticRefreshTimer":[{"__symbolic":"method"}],"calcTimeout":[{"__symbolic":"method"}],"setStorage":[{"__symbolic":"method"}],"loadDiscoveryDocument":[{"__symbolic":"method"}],"loadJwks":[{"__symbolic":"method"}],"validateDiscoveryDocument":[{"__symbolic":"method"}],"fetchTokenUsingPasswordFlowAndLoadUserProfile":[{"__symbolic":"method"}],"loadUserProfile":[{"__symbolic":"method"}],"fetchTokenUsingPasswordFlow":[{"__symbolic":"method"}],"fetchTokenUsingGrant":[{"__symbolic":"method"}],"refreshToken":[{"__symbolic":"method"}],"removeSilentRefreshEventListener":[{"__symbolic":"method"}],"setupSilentRefreshEventListener":[{"__symbolic":"method"}],"silentRefresh":[{"__symbolic":"method"}],"initImplicitFlowInPopup":[{"__symbolic":"method"}],"initLoginFlowInPopup":[{"__symbolic":"method"}],"calculatePopupFeatures":[{"__symbolic":"method"}],"processMessageEventMessage":[{"__symbolic":"method"}],"canPerformSessionCheck":[{"__symbolic":"method"}],"setupSessionCheckEventListener":[{"__symbolic":"method"}],"handleSessionUnchanged":[{"__symbolic":"method"}],"handleSessionChange":[{"__symbolic":"method"}],"waitForSilentRefreshAfterSessionChange":[{"__symbolic":"method"}],"handleSessionError":[{"__symbolic":"method"}],"removeSessionCheckEventListener":[{"__symbolic":"method"}],"initSessionCheck":[{"__symbolic":"method"}],"startSessionCheckTimer":[{"__symbolic":"method"}],"stopSessionCheckTimer":[{"__symbolic":"method"}],"checkSession":[{"__symbolic":"method"}],"createLoginUrl":[{"__symbolic":"method"}],"initImplicitFlowInternal":[{"__symbolic":"method"}],"initImplicitFlow":[{"__symbolic":"method"}],"resetImplicitFlow":[{"__symbolic":"method"}],"callOnTokenReceivedIfExists":[{"__symbolic":"method"}],"storeAccessTokenResponse":[{"__symbolic":"method"}],"tryLogin":[{"__symbolic":"method"}],"parseQueryString":[{"__symbolic":"method"}],"tryLoginCodeFlow":[{"__symbolic":"method"}],"getCodePartsFromUrl":[{"__symbolic":"method"}],"getTokenFromCode":[{"__symbolic":"method"}],"fetchAndProcessToken":[{"__symbolic":"method"}],"tryLoginImplicitFlow":[{"__symbolic":"method"}],"parseState":[{"__symbolic":"method"}],"validateNonce":[{"__symbolic":"method"}],"storeIdToken":[{"__symbolic":"method"}],"storeSessionState":[{"__symbolic":"method"}],"getSessionState":[{"__symbolic":"method"}],"handleLoginError":[{"__symbolic":"method"}],"getClockSkewInMsec":[{"__symbolic":"method"}],"processIdToken":[{"__symbolic":"method"}],"getIdentityClaims":[{"__symbolic":"method"}],"getGrantedScopes":[{"__symbolic":"method"}],"getIdToken":[{"__symbolic":"method"}],"padBase64":[{"__symbolic":"method"}],"getAccessToken":[{"__symbolic":"method"}],"getRefreshToken":[{"__symbolic":"method"}],"getAccessTokenExpiration":[{"__symbolic":"method"}],"getAccessTokenStoredAt":[{"__symbolic":"method"}],"getIdTokenStoredAt":[{"__symbolic":"method"}],"getIdTokenExpiration":[{"__symbolic":"method"}],"hasValidAccessToken":[{"__symbolic":"method"}],"hasValidIdToken":[{"__symbolic":"method"}],"getCustomTokenResponseProperty":[{"__symbolic":"method"}],"authorizationHeader":[{"__symbolic":"method"}],"logOut":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"createAndSaveNonce":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"createNonce":[{"__symbolic":"method"}],"checkAtHash":[{"__symbolic":"method"}],"checkSignature":[{"__symbolic":"method"}],"initLoginFlow":[{"__symbolic":"method"}],"initCodeFlow":[{"__symbolic":"method"}],"initCodeFlowInternal":[{"__symbolic":"method"}],"createChallangeVerifierPairForPKCE":[{"__symbolic":"method"}],"extractRecognizedCustomParameters":[{"__symbolic":"method"}],"revokeTokenAndLogout":[{"__symbolic":"method"}],"clearLocationHash":[{"__symbolic":"method"}]}},"JwksValidationHandler":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NullValidationHandler"},"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"NullValidationHandler":{"__symbolic":"class","members":{"validateSignature":[{"__symbolic":"method"}],"validateAtHash":[{"__symbolic":"method"}]}},"ValidationParams":{"__symbolic":"interface"},"ValidationHandler":{"__symbolic":"class","members":{"validateSignature":[{"__symbolic":"method"}],"validateAtHash":[{"__symbolic":"method"}]}},"AbstractValidationHandler":{"__symbolic":"class","members":{"validateSignature":[{"__symbolic":"method"}],"validateAtHash":[{"__symbolic":"method"}],"inferHashAlgorithm":[{"__symbolic":"method"}],"calcHash":[{"__symbolic":"method"}]}},"UrlHelperService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":2,"character":1}}],"members":{"getHashFragmentParams":[{"__symbolic":"method"}],"parseQueryString":[{"__symbolic":"method"}]}},"AuthConfig":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":259,"character":21,"context":{"typeName":"Partial"},"module":"./auth.config"}]}]}},"LoginOptions":{"__symbolic":"class","members":{}},"OAuthLogger":{"__symbolic":"class","members":{"debug":[{"__symbolic":"method"}],"info":[{"__symbolic":"method"}],"log":[{"__symbolic":"method"}],"warn":[{"__symbolic":"method"}],"error":[{"__symbolic":"method"}]}},"OAuthStorage":{"__symbolic":"class","members":{"getItem":[{"__symbolic":"method"}],"removeItem":[{"__symbolic":"method"}],"setItem":[{"__symbolic":"method"}]}},"MemoryStorage":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":102,"character":1}}],"members":{"getItem":[{"__symbolic":"method"}],"removeItem":[{"__symbolic":"method"}],"setItem":[{"__symbolic":"method"}]}},"ReceivedTokens":{"__symbolic":"class","members":{}},"ParsedIdToken":{"__symbolic":"interface"},"TokenResponse":{"__symbolic":"interface"},"UserInfo":{"__symbolic":"interface"},"OidcDiscoveryDoc":{"__symbolic":"interface"},"AUTH_CONFIG":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":31},"arguments":["AUTH_CONFIG"]},"EventType":{"__symbolic":"interface"},"OAuthEvent":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":28,"character":29,"context":{"typeName":"EventType"},"module":"./events"}]}]}},"OAuthSuccessEvent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"OAuthEvent"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":32,"character":20,"context":{"typeName":"EventType"},"module":"./events"},{"__symbolic":"reference","name":"any"}]}]}},"OAuthInfoEvent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"OAuthEvent"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":38,"character":20,"context":{"typeName":"EventType"},"module":"./events"},{"__symbolic":"reference","name":"any"}]}]}},"OAuthErrorEvent":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"OAuthEvent"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":45,"character":10,"context":{"typeName":"EventType"},"module":"./events"},{"__symbolic":"error","message":"Expression form not supported","line":46,"character":21,"module":"./events"},{"__symbolic":"error","message":"Expression form not supported","line":47,"character":21,"module":"./events"}]}]}},"DefaultOAuthInterceptor":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":21,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":26,"character":5}}]],"parameters":[{"__symbolic":"reference","name":"OAuthService"},{"__symbolic":"reference","name":"OAuthResourceServerErrorHandler"},{"__symbolic":"reference","name":"OAuthModuleConfig"}]}],"checkUrl":[{"__symbolic":"method"}],"intercept":[{"__symbolic":"method"}]}},"OAuthResourceServerErrorHandler":{"__symbolic":"class","members":{"handleError":[{"__symbolic":"method"}]}},"OAuthNoopResourceServerErrorHandler":{"__symbolic":"class","members":{"handleError":[{"__symbolic":"method"}]}},"OAuthModuleConfig":{"__symbolic":"class","members":{}},"OAuthResourceServerConfig":{"__symbolic":"class","members":{}},"DateTimeProvider":{"__symbolic":"class","members":{"now":[{"__symbolic":"method"}],"new":[{"__symbolic":"method"}]}},"SystemDateTimeProvider":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"DateTimeProvider"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"now":[{"__symbolic":"method"}],"new":[{"__symbolic":"method"}]}},"HashHandler":{"__symbolic":"class","members":{"calcHash":[{"__symbolic":"method"}]}},"DefaultHashHandler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":30,"character":1}}],"members":{"calcHash":[{"__symbolic":"method"}],"toHashString2":[{"__symbolic":"method"}],"toHashString":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"reference","name":"console"}},"ɵb":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":7,"character":9,"module":"./factories"},"right":"undefined"},"thenExpression":{"__symbolic":"reference","name":"sessionStorage"},"elseExpression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"MemoryStorage"}}}}},"origins":{"OAuthModule":"./angular-oauth-oidc.module","OAuthService":"./oauth-service","JwksValidationHandler":"./token-validation/jwks-validation-handler","NullValidationHandler":"./token-validation/null-validation-handler","ValidationParams":"./token-validation/validation-handler","ValidationHandler":"./token-validation/validation-handler","AbstractValidationHandler":"./token-validation/validation-handler","UrlHelperService":"./url-helper.service","AuthConfig":"./auth.config","LoginOptions":"./types","OAuthLogger":"./types","OAuthStorage":"./types","MemoryStorage":"./types","ReceivedTokens":"./types","ParsedIdToken":"./types","TokenResponse":"./types","UserInfo":"./types","OidcDiscoveryDoc":"./types","AUTH_CONFIG":"./tokens","EventType":"./events","OAuthEvent":"./events","OAuthSuccessEvent":"./events","OAuthInfoEvent":"./events","OAuthErrorEvent":"./events","DefaultOAuthInterceptor":"./interceptors/default-oauth.interceptor","OAuthResourceServerErrorHandler":"./interceptors/resource-server-error-handler","OAuthNoopResourceServerErrorHandler":"./interceptors/resource-server-error-handler","OAuthModuleConfig":"./oauth-module.config","OAuthResourceServerConfig":"./oauth-module.config","DateTimeProvider":"./date-time-provider","SystemDateTimeProvider":"./date-time-provider","HashHandler":"./token-validation/hash-handler","DefaultHashHandler":"./token-validation/hash-handler","ɵa":"./factories","ɵb":"./factories"},"importAs":"angular-oauth2-oidc"}
import { __awaiter } from "tslib";
import { Injectable } from '@angular/core';
import { sha256 } from './js-sha256';
import { factory } from './js-sha256';
const sha256 = factory();
import fsha256 from 'fast-sha256';
/**

@@ -9,2 +11,16 @@ * Abstraction for crypto algorithms

}
function decodeUTF8(s) {
if (typeof s !== 'string')
throw new TypeError('expected string');
var i, d = s, b = new Uint8Array(d.length);
for (i = 0; i < d.length; i++)
b[i] = d.charCodeAt(i);
return b;
}
function encodeUTF8(arr) {
var i, s = [];
for (i = 0; i < arr.length; i++)
s.push(String.fromCharCode(arr[i]));
return s.join('');
}
export class DefaultHashHandler {

@@ -16,6 +32,10 @@ calcHash(valueToHash, algorithm) {

// const data = encoder.encode(valueToHash);
const hashArray = sha256.array(valueToHash);
// const hashString = this.toHashString(hashArray);
const hashString = this.toHashString2(hashArray);
return hashString;
// const fhash = fsha256(valueToHash);
const candHash = encodeUTF8(fsha256(decodeUTF8(valueToHash)));
// const hashArray = (sha256 as any).array(valueToHash);
// // const hashString = this.toHashString(hashArray);
// const hashString = this.toHashString2(hashArray);
// console.debug('hash orig - cand', candHash, hashString);
// alert(1);
return candHash;
});

@@ -42,2 +62,2 @@ }

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzaC1oYW5kbGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbGliL3NyYy90b2tlbi12YWxpZGF0aW9uL2hhc2gtaGFuZGxlci50cyJdLCJuYW1lcyI6W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29uc3QgcGFkZGVkSGV4Q29kZSA9IGhleENvZGUucGFkU3RhcnQoMiwgJzAnKTtcbiAgLy8gICAgICAgcmV0dXJuIHBhZGRlZEhleENvZGU7XG4gIC8vICAgICB9KTtcblxuICAvLyAgICAgcmV0dXJuIGhleENvZGVzLmpvaW4oJycpO1xuICAvLyAgIH1cblxuICAvLyB0b0hhc2hTdHJpbmcoaGV4U3RyaW5nOiBzdHJpbmcpIHtcbiAgLy8gICBsZXQgcmVzdWx0ID0gJyc7XG4gIC8vICAgZm9yIChsZXQgaSA9IDA7IGkgPCBoZXhTdHJpbmcubGVuZ3RoOyBpICs9IDIpIHtcbiAgLy8gICAgIGxldCBoZXhEaWdpdCA9IGhleFN0cmluZy5jaGFyQXQoaSkgKyBoZXhTdHJpbmcuY2hhckF0KGkgKyAxKTtcbiAgLy8gICAgIGxldCBudW0gPSBwYXJzZUludChoZXhEaWdpdCwgMTYpO1xuICAvLyAgICAgcmVzdWx0ICs9IFN0cmluZy5mcm9tQ2hhckNvZGUobnVtKTtcbiAgLy8gICB9XG4gIC8vICAgcmV0dXJuIHJlc3VsdDtcbiAgLy8gfVxufVxuIl19

@@ -1,1 +0,1 @@

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"error","message":"Lambda not supported","fileName":"projects\\lib\\src\\token-validation\\js-sha256.js.ts"}},{"symbol":{"__symbol":1,"members":[]},"metadata":{"__symbolic":"error","message":"Lambda not supported","fileName":"projects\\lib\\src\\token-validation\\js-sha256.js.ts"}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbolic":"error","message":"Lambda not supported","fileName":"projects\\lib\\src\\token-validation\\js-sha256.js.ts"}},{"symbol":{"__symbol":3,"members":[]},"metadata":{"__symbolic":"error","message":"Lambda not supported","fileName":"projects\\lib\\src\\token-validation\\js-sha256.js.ts"}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbolic":"error","message":"Lambda not supported","fileName":"projects\\lib\\src\\token-validation\\js-sha256.js.ts"}},{"symbol":{"__symbol":5,"members":[]},"metadata":{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}}],"symbols":[{"__symbol":0,"name":"ɵ0","filePath":"./js-sha256"},{"__symbol":1,"name":"ɵ1","filePath":"./js-sha256"},{"__symbol":2,"name":"ɵ2","filePath":"./js-sha256"},{"__symbol":3,"name":"ɵ3","filePath":"./js-sha256"},{"__symbol":4,"name":"ɵ4","filePath":"./js-sha256"},{"__symbol":5,"name":"sha256","filePath":"./js-sha256"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"function"}}],"symbols":[{"__symbol":0,"name":"factory","filePath":"./js-sha256"}]}

@@ -7,3 +7,3 @@ {

},
"version": "12.0.2",
"version": "12.1.0",
"repository": "manfredsteyer/angular-oauth2-oidc",

@@ -15,3 +15,4 @@ "peerDependencies": {

"dependencies": {
"tslib": "^2.0.0"
"tslib": "^2.0.0",
"fast-sha256": "^1.3.0"
},

@@ -18,0 +19,0 @@ "main": "bundles/angular-oauth2-oidc.umd.js",

@@ -1,2 +0,9 @@

export { exports as sha256 };
declare function exports(message: any): any;
/**
* [js-sha256]{@link https://github.com/emn178/js-sha256}
*
* @version 0.9.0
* @author Chen, Yi-Cyuan [emn178@gmail.com]
* @copyright Chen, Yi-Cyuan 2014-2017
* @license MIT
*/
export function factory(): (message: any) => any;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet