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

@mybiogen/auth-openid

Package Overview
Dependencies
Maintainers
13
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mybiogen/auth-openid - npm Package Compare versions

Comparing version 1.4.5 to 1.5.0

6

lib/OAuthClient.d.ts

@@ -1,2 +0,2 @@

import { OAuthUserInfo, Token, WatchAuthCallback, Init } from './types';
import { OAuthUserInfo, Token, WatchAuthCallback, Init, AuthenticateExtraParams } from './types';
export default abstract class OpenIDClient<Claims extends {} = {}, UserInfo extends OAuthUserInfo = OAuthUserInfo, UserData extends {

@@ -40,4 +40,4 @@ user: UserInfo;

private authenticate;
login: (forcedRedirectTo?: string | undefined, uiLocales?: string | undefined) => void;
signup: (forcedRedirectTo?: string | undefined, uiLocales?: string | undefined) => void;
login: (forcedRedirectTo?: string | undefined, extraParams?: AuthenticateExtraParams | undefined) => void;
signup: (forcedRedirectTo?: string | undefined, extraParams?: AuthenticateExtraParams | undefined) => void;
protected abstract loadUserInfo(userJSON: any, claims?: Claims): UserData;

@@ -44,0 +44,0 @@ getUserInfo: () => Promise<{

@@ -136,3 +136,3 @@ "use strict";

this.authenticate = (args) => {
const { forcedRedirectTo, isSignup, uiLocales } = args;
const { forcedRedirectTo, isSignup, extraParams } = args;
const originalCodeVerifier = utils_1.generateCodeVerifier(96);

@@ -164,5 +164,3 @@ const codeVerifier = utils_1.generatePkceChallenge(originalCodeVerifier);

claims: claimParam && JSON.stringify(claimParam),
...(uiLocales && {
ui_locales: uiLocales
}),
...(extraParams || {}),
...(isSignup && {

@@ -181,7 +179,7 @@ prompt: 'create'

};
this.login = (forcedRedirectTo, uiLocales) => {
this.authenticate({ forcedRedirectTo, uiLocales });
this.login = (forcedRedirectTo, extraParams) => {
this.authenticate({ forcedRedirectTo, extraParams });
};
this.signup = (forcedRedirectTo, uiLocales) => {
this.authenticate({ forcedRedirectTo, uiLocales, isSignup: true });
this.signup = (forcedRedirectTo, extraParams) => {
this.authenticate({ forcedRedirectTo, extraParams, isSignup: true });
};

@@ -314,2 +312,2 @@ this.getUserInfo = async () => {

exports.default = OpenIDClient;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT0F1dGhDbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvT0F1dGhDbGllbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxnRUFBdUM7QUFDdkMsK0JBQW9DO0FBQ3BDLG1DQUEwRztBQVcxRyxNQUE4QixZQUFZO0lBdUN4QyxZQUFZLFFBQWdCLEVBQUUsU0FBaUIsRUFBRSxXQUFtQixFQUFFLFVBQWtCLEVBQUUsaUJBQXlCLEVBQUUsU0FBbUIsQ0FBQyxRQUFRLENBQUMsRUFBRSxTQUE4QixFQUFFO1FBVnBMLGNBQVMsR0FBK0MsRUFBRSxDQUFDO1FBNEhuRCx3QkFBbUIsR0FBRyxHQUFTLEVBQUU7O1lBQ3ZDLElBQUksUUFBQyxJQUFJLENBQUMsS0FBSywwQ0FBRSxZQUFZLENBQUEsRUFBRTtnQkFDN0IsT0FBTyxDQUFDLElBQUksQ0FBQyx3QkFBd0IsQ0FBQyxDQUFBO2dCQUN0QyxPQUFPO2FBQ1I7WUFFRCxJQUFJLElBQUksQ0FBQyxJQUFJLElBQUksSUFBSSxDQUFDLEtBQUssSUFBSSxDQUFDLElBQUksQ0FBQyxvQkFBb0IsRUFBRTtnQkFDekQsTUFBTSx3QkFBd0IsR0FBRyxLQUFLLENBQUM7Z0JBQ3ZDLElBQUksQ0FBQyxvQkFBb0IsR0FBRyxNQUFNLENBQUMsV0FBVyxDQUFDLEtBQUssSUFBSSxFQUFFO29CQUN4RCxJQUFJO3dCQUNGLE1BQU0sSUFBSSxDQUFDLFlBQVksRUFBRSxDQUFDO3FCQUMzQjtvQkFBQyxPQU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G4gICAgICB9XG4gICAgfVxuXG4gIH07XG59XG4iXX0=

@@ -31,6 +31,22 @@ export declare type Token = {

};
declare type AuthenticateParams = {
client_id: string;
redirect_uri: string;
scope: string;
response_type: string;
response_mode: string;
state: string;
code_challenge: string;
code_challenge_method: string;
claims?: string;
prompt?: string;
};
declare type ExtraParams = {
[key: string]: string;
};
export declare type AuthenticateExtraParams = AuthenticateParams & ExtraParams;
export declare type AuthenticateArgs = {
forcedRedirectTo?: string;
isSignup?: boolean;
uiLocales?: string;
extraParams?: AuthenticateExtraParams;
};

@@ -40,2 +56,3 @@ export declare type ClaimParam = {

};
export {};
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbIi8vIFJlZmVyZW5jZTogaHR0cHM6Ly9pZGVudGl0eWRvY3MuYWthbWFpLmNvbS9ob21lL2F1dGhvcml6YXRpb24tY29kZS1wa2NlLWZvci1tb2JpbGUtYXBwc1xuZXhwb3J0IHR5cGUgVG9rZW4gPSB7XG4gIC8vIFRva2VuIHVzZWQgZm9yIGNhbGxzLCBzaG9ydCBleHBpcmF0aW9uXG4gIGFjY2Vzc1Rva2VuOiBzdHJpbmc7XG4gIC8vIFRva2VuIHVzZWQgdG8gcmV0cmlldmUgYSBuZXcgYWNjZXNzVG9rZW4sIGxvbmcgZXhwaXJhdGlvblxuICByZWZyZXNoVG9rZW46IHN0cmluZztcbiAgZXhwaXJlc0luOiBudW1iZXI7XG4gIHRva2VuVHlwZTogc3RyaW5nO1xuICAvLyBPSURDIHNjb3BlcyB0aGF0IHRoZSB0b2tlbiBoYXMgYWNjZXNzIHRvIHJldHJpZX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2xhaW1zPzogc3RyaW5nO1xuICBwcm9tcHQ/OiBzdHJpbmc7XG59XG5cbnR5cGUgRXh0cmFQYXJhbXMgPSB7XG4gIFtrZXk6IHN0cmluZ106IHN0cmluZztcbn07XG5cbmV4cG9ydCB0eXBlIEF1dGhlbnRpY2F0ZUV4dHJhUGFyYW1zID0gQXV0aGVudGljYXRlUGFyYW1zICYgRXh0cmFQYXJhbXM7XG5cbmV4cG9ydCB0eXBlIEF1dGhlbnRpY2F0ZUFyZ3MgPSB7XG4gIGZvcmNlZFJlZGlyZWN0VG8/OiBzdHJpbmc7XG4gIGlzU2lnbnVwPzogYm9vbGVhbjtcbiAgZXh0cmFQYXJhbXM/OiBBdXRoZW50aWNhdGVFeHRyYVBhcmFtcztcbn1cblxuZXhwb3J0IHR5cGUgQ2xhaW1QYXJhbSA9IHtcbiAgW2NsYWltOiBzdHJpbmddOiBudWxsLFxufTtcbiJdfQ==
{
"name": "@mybiogen/auth-openid",
"version": "1.4.5",
"version": "1.5.0",
"description": "Authorization for OpenID",

@@ -35,3 +35,3 @@ "license": "MIT",

},
"gitHead": "98dd7fe9e7f2236298dda72f371b378cd5e72d3f"
"gitHead": "d77cb14598fd3f2b003d270d505b0a1bc73a6136"
}

Sorry, the diff of this file is not supported yet

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