Skip to content

Commit

Permalink
Merge branch 'support-for-loading-from-json-config'
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Jul 19, 2017
2 parents 6e8c357 + 70fd784 commit 9a004e8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## angular-auth-oidc-client Changelog

<a name="2017-07-19"></a>
### 2017-07-19 version 1.2.2
* support reading json file configurations

<a name="2017-07-12"></a>
### 2017-07-12 version 1.2.1
* Fix types in storage class
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ or with yarn

or you can add the npm package to your package.json
``` javascript
"angular-auth-oidc-client": "1.2.1"
"angular-auth-oidc-client": "1.2.2"
```

and type
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-auth-oidc-client",
"version": "1.2.1",
"version": "1.2.2",
"description": "An OpenID Connect Implicit Flow client for Angular",
"main": "./bundles/angular-auth-oidc-client.umd.js",
"module": "./modules/angular-auth-oidc-client.es5.js",
Expand Down
4 changes: 3 additions & 1 deletion src/services/oidc.security.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ import { JwtKeys } from './jwtkeys';
export class OidcSecurityService {

@Output() onUserDataLoaded: EventEmitter<any> = new EventEmitter<any>(true);

@Output() onModuleSetup: EventEmitter<any> = new EventEmitter<any>(true);

checkSessionChanged: boolean;
isAuthorized: boolean;

Expand Down Expand Up @@ -79,6 +80,7 @@ export class OidcSecurityService {
}
}

this.onModuleSetup.emit();
}

getToken(): any {
Expand Down

0 comments on commit 9a004e8

Please sign in to comment.