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

@frontegg/rest-api

Package Overview
Dependencies
Maintainers
1
Versions
617
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/rest-api - npm Package Compare versions

Comparing version 3.0.131 to 3.0.132

13

auth/index.d.ts

@@ -382,2 +382,3 @@ export * from "./secutiry-poilicy";

/**
* ##### Public route
* Get social logins providers configurations V2 supports dev credentials as well

@@ -388,2 +389,8 @@ * @return array of providers configurations

/**
* ##### Authenticated route
* Get social logins providers configurations V2 supports dev credentials as well
* @return array of providers configurations
*/
export declare function getSocialLoginProvidersV2ForAuthenticatedUser(): Promise<ISocialLoginProviderConfigurationV2[]>;
/**
* Get social logins custom providers configurations

@@ -654,2 +661,3 @@ * @return array of custom providers configurations

/**
* ##### Public route
* Get public vendor auth strategies public configuration

@@ -659,4 +667,9 @@ */

/**
* ##### Authenticated route
* Get public vendor auth strategies public configuration
*/
export declare function getPublicAuthStrategiesConfigForAuthenticatedUser(): Promise<IAuthStrategiesConfig>;
/**
* Get vendor mfa strategies configuration
*/
export declare function getMFAStrategiesConfig(): Promise<IMFAStrategiesResponse>;

@@ -304,2 +304,5 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

}
export async function getSocialLoginProvidersV2ForAuthenticatedUser() {
return Get(`${urls.identity.sso.v2}/authenticated`);
}
export async function getCustomSocialLoginProvidersV1() {

@@ -568,4 +571,7 @@ return Get(urls.identity.sso.custom.v1);

}
export async function getPublicAuthStrategiesConfigForAuthenticatedUser() {
return Get(`${urls.identity.configurations.v1}/auth/strategies`);
}
export async function getMFAStrategiesConfig() {
return Get(`${urls.identity.configurations.v1}/mfa/strategies`);
}

2

index.js

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

/** @license Frontegg v3.0.131
/** @license Frontegg v3.0.132
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

@@ -76,2 +76,3 @@ "use strict";

getSocialLoginProvidersV2: true,
getSocialLoginProvidersV2ForAuthenticatedUser: true,
getCustomSocialLoginProvidersV1: true,

@@ -136,2 +137,3 @@ loginViaSocialLogin: true,

getVendorPublicAuthStrategiesConfig: true,
getPublicAuthStrategiesConfigForAuthenticatedUser: true,
getMFAStrategiesConfig: true

@@ -188,2 +190,3 @@ };

exports.getOidcConfiguration = getOidcConfiguration;
exports.getPublicAuthStrategiesConfigForAuthenticatedUser = getPublicAuthStrategiesConfigForAuthenticatedUser;
exports.getSSOConfigurations = getSSOConfigurations;

@@ -200,2 +203,3 @@ exports.getSSODefaultRoles = getSSODefaultRoles;

exports.getSocialLoginProvidersV2 = getSocialLoginProvidersV2;
exports.getSocialLoginProvidersV2ForAuthenticatedUser = getSocialLoginProvidersV2ForAuthenticatedUser;
exports.getTenantAccessTokensData = getTenantAccessTokensData;

@@ -678,2 +682,6 @@ exports.getTenantApiTokensData = getTenantApiTokensData;

async function getSocialLoginProvidersV2ForAuthenticatedUser() {
return (0, _fetch.Get)(`${_constants.urls.identity.sso.v2}/authenticated`);
}
async function getCustomSocialLoginProvidersV1() {

@@ -999,4 +1007,8 @@ return (0, _fetch.Get)(_constants.urls.identity.sso.custom.v1);

async function getPublicAuthStrategiesConfigForAuthenticatedUser() {
return (0, _fetch.Get)(`${_constants.urls.identity.configurations.v1}/auth/strategies`);
}
async function getMFAStrategiesConfig() {
return (0, _fetch.Get)(`${_constants.urls.identity.configurations.v1}/mfa/strategies`);
}

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

/** @license Frontegg v3.0.131
/** @license Frontegg v3.0.132
*

@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the

{
"name": "@frontegg/rest-api",
"version": "3.0.131",
"version": "3.0.132",
"main": "./node/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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