angular-oauth2-oidc
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -992,3 +992,3 @@ (function (global, factory) { | ||
if (this.getKeyCount() > 1 && !header.kid) { | ||
var /** @type {?} */ err = 'There needs to be a kid claim in the id_token when multiple keys are defined via the property jwks'; | ||
var /** @type {?} */ err = 'There needs to be a kid property in the id_token header when multiple keys are defined via the property jwks'; | ||
console.warn(err); | ||
@@ -1017,2 +1017,7 @@ return Promise.reject(err); | ||
} | ||
if (this.requestAccessToken && !claims['at_hash']) { | ||
var /** @type {?} */ err = "An at_hash is needed!"; | ||
console.warn(err); | ||
return Promise.reject(err); | ||
} | ||
var /** @type {?} */ now = Date.now(); | ||
@@ -1019,0 +1024,0 @@ var /** @type {?} */ issuedAtMSec = claims.iat * 1000; |
@@ -1001,3 +1001,3 @@ import { Injectable, NgModule } from '@angular/core'; | ||
if (this.getKeyCount() > 1 && !header.kid) { | ||
var /** @type {?} */ err = 'There needs to be a kid claim in the id_token when multiple keys are defined via the property jwks'; | ||
var /** @type {?} */ err = 'There needs to be a kid property in the id_token header when multiple keys are defined via the property jwks'; | ||
console.warn(err); | ||
@@ -1026,2 +1026,7 @@ return Promise.reject(err); | ||
} | ||
if (this.requestAccessToken && !claims['at_hash']) { | ||
var /** @type {?} */ err = "An at_hash is needed!"; | ||
console.warn(err); | ||
return Promise.reject(err); | ||
} | ||
var /** @type {?} */ now = Date.now(); | ||
@@ -1028,0 +1033,0 @@ var /** @type {?} */ issuedAtMSec = claims.iat * 1000; |
{ | ||
"name": "angular-oauth2-oidc", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156342
3399