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

oidc-client

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-client - npm Package Compare versions

Comparing version 1.2.0-beta.2 to 1.2.0-beta.3

90

oidc-client.d.ts

@@ -16,20 +16,20 @@ declare var UserManager: Oidc.UserManager;

load(container);
load(container: any): any;
unload();
unload(): any;
addAccessTokenExpiring(callback:(ev:null) => void);
removeAccessTokenExpiring(callback:(ev:null) => void);
addAccessTokenExpiring(callback: (ev: any) => void): any;
removeAccessTokenExpiring(callback: (ev: any) => void): any;
addAccessTokenExpired(callback:(ev:null) => void);
removeAccessTokenExpired(callback:(ev:null) => void);
addAccessTokenExpired(callback: (ev: any) => void): any;
removeAccessTokenExpired(callback: (ev: any) => void): any;
}
interface InMemoryWebStorage {
getItem(key: string);
getItem(key: string): any;
setItem(key: string, value: any);
setItem(key: string, value: any): any;
removeItem(key: string);
removeItem(key: string): any;
key(index: number);
key(index: number): any;

@@ -39,36 +39,36 @@ length?: number;

interface Log {
NONE();
ERROR();
WARN();
INFO();
NONE(): number;
ERROR(): number;
WARN(): number;
INFO(): number;
reset();
reset(): void;
level(value);
level(value: number): number;
logger(value);
logger(value: any): any;
info(...args);
warn(...args);
error(...args);
info(...args: any[]): void;
warn(...args: any[]): void;
error(...args: any[]): void;
}
interface MetadataService {
new (settings: any);
getMetadata();
new (settings: any): any;
getMetadata(): any;
getIssuer();
getIssuer(): any;
getAuthorizationEndpoint();
getAuthorizationEndpoint(): any;
getUserInfoEndpoint();
getUserInfoEndpoint(): any;
getCheckSessionIframe();
getCheckSessionIframe(): any;
getEndSessionEndpoint();
getEndSessionEndpoint(): any;
getSigningKeys();
getSigningKeys(): any;
}
interface OidcClient {
new (settings: OidcClientCtor);
new (settings: OidcClientCtor): any;

@@ -109,3 +109,3 @@ createSigninRequest(args?: any): Promise<any>;

interface UserManager extends OidcClient {
new (settings: UserManagerCtor);
new (settings: UserManagerCtor): any;

@@ -134,16 +134,16 @@ clearStaleState(): Promise<void>;

interface UserManagerEvents extends AccessTokenEvents {
load(user: User);
unload();
load(user: User): any;
unload(): any;
addUserLoaded(callback:(ev:null) => void);
removeUserLoaded(callback:(ev:null) => void);
addUserLoaded(callback: (ev: any) => void): any;
removeUserLoaded(callback: (ev: any) => void): any;
addUserUnloaded(callback:(ev:null) => void);
removeUserUnloaded(callback:(ev:null) => void);
addUserUnloaded(callback: (ev: any) => void): any;
removeUserUnloaded(callback: (ev: any) => void): any;
addSilentRenewError(callback:(ev:null) => void);
removeSilentRenewError(callback:(ev:null) => void);
addSilentRenewError(callback: (ev: any) => void): any;
removeSilentRenewError(callback: (ev: any) => void): any;
addUserSignedOut(callback:(ev:null) => void);
removeUserSignedOut(callback:(ev:null) => void);
addUserSignedOut(callback: (ev: any) => void): any;
removeUserSignedOut(callback: (ev: any) => void): any;
}

@@ -163,9 +163,9 @@ interface UserManagerCtor extends OidcClientCtor {

interface WebStorageStateStore {
set(key: string, value: any);
set(key: string, value: any): any;
get(key: string);
get(key: string): any;
remove(key: string);
remove(key: string): any;
getAllKeys();
getAllKeys(): any;
}

@@ -181,4 +181,4 @@ interface User {

state: any;
toStorageString(storageString?: any);
toStorageString(storageString?: any): any;
}
}
{
"name": "oidc-client",
"version": "1.2.0-beta.2",
"version": "1.2.0-beta.3",
"description": "OpenID Connect (OIDC) & OAuth2 client library",

@@ -5,0 +5,0 @@ "main": "lib/oidc-client.min.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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