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 1.0.1 to 1.0.2

2

dist/src/oauth-service.d.ts

@@ -48,3 +48,3 @@ import { Http } from '@angular/http';

authorizationHeader(): string;
logOut(): void;
logOut(noRedirectToLogoutUrl?: boolean): void;
createAndSaveNonce(): Promise<any>;

@@ -51,0 +51,0 @@ createNonce(): Promise<{}>;

@@ -362,3 +362,4 @@ "use strict";

};
OAuthService.prototype.logOut = function () {
OAuthService.prototype.logOut = function (noRedirectToLogoutUrl) {
if (noRedirectToLogoutUrl === void 0) { noRedirectToLogoutUrl = false; }
var id_token = this.getIdToken();

@@ -374,2 +375,4 @@ this._storage.removeItem("access_token");

return;
if (noRedirectToLogoutUrl)
return;
var logoutUrl;

@@ -376,0 +379,0 @@ // For backward compatibility

{
"name": "angular-oauth2-oidc",
"version": "1.0.1",
"version": "1.0.2",
"scripts": {

@@ -39,3 +39,3 @@ "lint": "tslint src/**/*.ts",

"@angular/http": "^2.0.0",
"@angular/platform-browser": "^2.0.0",
"@angular/platform-browser": "^2.0.0",
"codelyzer": "^0.0.28",

@@ -42,0 +42,0 @@ "rxjs": "^5.0.1",

@@ -33,3 +33,3 @@ # angular-oauth2-oidc

- Sources of this lib: https://github.com/manfredsteyer/angular-oauth-oidc
- Sources of this lib: https://github.com/manfredsteyer/angular-oauth2-oidc

@@ -36,0 +36,0 @@

@@ -447,3 +447,3 @@ import {Base64} from 'js-base64';

logOut() {
logOut(noRedirectToLogoutUrl: boolean = false) {
var id_token = this.getIdToken();

@@ -459,2 +459,3 @@ this._storage.removeItem("access_token");

if (!this.logoutUrl) return;
if (noRedirectToLogoutUrl) return;

@@ -461,0 +462,0 @@ let logoutUrl: string;

Sorry, the diff of this file is not supported yet

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