Skip to content

Commit

Permalink
Merge branch 'update-main-library-to-version-9.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenheijmans committed Mar 5, 2020
2 parents 7a9853e + 4f62171 commit 3c95d88
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
15 changes: 11 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"@angular/platform-browser": "^9.0.5",
"@angular/platform-browser-dynamic": "^9.0.5",
"@angular/router": "^9.0.5",
"angular-oauth2-oidc": "^8.0.4",
"angular-oauth2-oidc": "^9.0.0",
"angular-oauth2-oidc-jwks": "^9.0.0",
"core-js": "^2.6.11",
"rxjs": "^6.5.4",
"tslib": "^1.11.1",
Expand Down
8 changes: 4 additions & 4 deletions src/app/core/core.module.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { HttpClientModule } from '@angular/common/http';
import { ModuleWithProviders, NgModule, Optional, SkipSelf } from '@angular/core';
import { AuthConfig, JwksValidationHandler, OAuthModule, OAuthModuleConfig, OAuthStorage, ValidationHandler } from 'angular-oauth2-oidc';

import { AuthConfig, OAuthModule, OAuthModuleConfig, OAuthStorage, ValidationHandler, } from 'angular-oauth2-oidc';
import { JwksValidationHandler } from 'angular-oauth2-oidc-jwks';
import { authConfig } from './auth-config';
import { AuthGuardWithForcedLogin } from './auth-guard-with-forced-login.service';
import { AuthGuard } from './auth-guard.service';
import { authModuleConfig } from './auth-module-config';
import { AuthService } from './auth.service';

// We need a factory since localStorage is not available at AOT build time
export function storageFactory() : OAuthStorage {
return localStorage
export function storageFactory(): OAuthStorage {
return localStorage;
}

@NgModule({
Expand Down

0 comments on commit 3c95d88

Please sign in to comment.