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

angular-oauth2-oidc

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-oauth2-oidc - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

12

angular-oauth2-oidc.umd.js

@@ -206,2 +206,7 @@ (function (global, factory) {

/**
* Set this to true to display the iframe used for
silent refresh for debugging.
*/
this.silentRefreshShowIFrame = false;
/**
* Timeout for silent refresh.

@@ -347,2 +352,3 @@ */

OAuthService.prototype.setupIdTokenTimer = function () {
var _this = this;
var /** @type {?} */ expiration = this.getAccessTokenExpiration();

@@ -354,3 +360,3 @@ var /** @type {?} */ timeout = this.calcTimeout(expiration);

.delay(timeout)
.subscribe(this.eventsSubject);
.subscribe(function (e) { return _this.eventsSubject.next(e); });
};

@@ -706,3 +712,5 @@ /**

iframe.setAttribute('src', url);
iframe.style.visibility = 'hidden';
if (!_this.silentRefreshShowIFrame) {
iframe.style.visibility = 'hidden';
}
document.body.appendChild(iframe);

@@ -709,0 +717,0 @@ });

@@ -215,2 +215,7 @@ import { Injectable, NgModule } from '@angular/core';

/**
* Set this to true to display the iframe used for
silent refresh for debugging.
*/
this.silentRefreshShowIFrame = false;
/**
* Timeout for silent refresh.

@@ -356,2 +361,3 @@ */

OAuthService.prototype.setupIdTokenTimer = function () {
var _this = this;
var /** @type {?} */ expiration = this.getAccessTokenExpiration();

@@ -363,3 +369,3 @@ var /** @type {?} */ timeout = this.calcTimeout(expiration);

.delay(timeout)
.subscribe(this.eventsSubject);
.subscribe(function (e) { return _this.eventsSubject.next(e); });
};

@@ -715,3 +721,5 @@ /**

iframe.setAttribute('src', url);
iframe.style.visibility = 'hidden';
if (!_this.silentRefreshShowIFrame) {
iframe.style.visibility = 'hidden';
}
document.body.appendChild(iframe);

@@ -718,0 +726,0 @@ });

@@ -87,2 +87,7 @@ import { Http, Headers } from '@angular/http';

/**
* Set this to true to display the iframe used for
* silent refresh for debugging.
*/
silentRefreshShowIFrame: boolean;
/**
* Timeout for silent refresh.

@@ -89,0 +94,0 @@ */

2

package.json
{
"name": "angular-oauth2-oidc",
"version": "2.0.8",
"version": "2.0.9",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc