Skip to content

Commit 3c95d88

Browse files
Merge branch 'update-main-library-to-version-9.x'
2 parents 7a9853e + 4f62171 commit 3c95d88

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

package-lock.json

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"@angular/platform-browser": "^9.0.5",
1818
"@angular/platform-browser-dynamic": "^9.0.5",
1919
"@angular/router": "^9.0.5",
20-
"angular-oauth2-oidc": "^8.0.4",
20+
"angular-oauth2-oidc": "^9.0.0",
21+
"angular-oauth2-oidc-jwks": "^9.0.0",
2122
"core-js": "^2.6.11",
2223
"rxjs": "^6.5.4",
2324
"tslib": "^1.11.1",

src/app/core/core.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import { HttpClientModule } from '@angular/common/http';
22
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
3-
import { AuthConfig, JwksValidationHandler, OAuthModule, OAuthModuleConfig, OAuthStorage, ValidationHandler } from 'angular-oauth2-oidc';
4-
3+
import { AuthConfig, OAuthModule, OAuthModuleConfig, OAuthStorage, ValidationHandler, } from 'angular-oauth2-oidc';
4+
import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';
55
import { authConfig } from './auth-config';
66
import { AuthGuardWithForcedLogin } from './auth-guard-with-forced-login.service';
77
import { AuthGuard } from './auth-guard.service';
88
import { authModuleConfig } from './auth-module-config';
99
import { AuthService } from './auth.service';
1010

1111
// We need a factory since localStorage is not available at AOT build time
12-
export function storageFactory() : OAuthStorage {
13-
return localStorage
12+
export function storageFactory(): OAuthStorage {
13+
return localStorage;
1414
}
1515

1616
@NgModule({

0 commit comments

Comments
 (0)