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
607
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 1.17.0-alpha.448727561 to 1.17.0-alpha.450729746

7

auth/index.d.ts

@@ -144,9 +144,8 @@ import { IUpdateSamlRoles } from './interfaces';

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Get Saml roles for authorization
* @return array of role IDs
*/
export declare function getSamlRoles(): Promise<Array<string>>;
/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Update Saml roles for authorization
*/

@@ -153,0 +152,0 @@ export declare function updateSamlRoles({ roleIds }: IUpdateSamlRoles): Promise<void>;

@@ -690,4 +690,4 @@ import { __awaiter, __generator, __assign, __rest } from 'tslib';

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Get Saml roles for authorization
* @return array of role IDs
*/

@@ -697,3 +697,3 @@ function getSamlRoles() {

return __generator(this, function (_a) {
console.debug('getSocialLoginsProviders()');
console.debug('getSamlRoles()');
return [2 /*return*/, Get(SSO_SERVICE_URL_V1 + "/saml/configurations/roles/default")];

@@ -704,4 +704,3 @@ });

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Update Saml roles for authorization
*/

@@ -712,3 +711,3 @@ function updateSamlRoles(_a) {

return __generator(this, function (_b) {
console.debug('getSocialLoginsProviders()');
console.debug('updateSamlRoles()');
return [2 /*return*/, Post(SSO_SERVICE_URL_V1 + "/saml/configurations/roles/default", { roleIds: roleIds })];

@@ -715,0 +714,0 @@ });

@@ -519,8 +519,8 @@ import { __awaiter, __rest } from 'tslib';

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Get Saml roles for authorization
* @return array of role IDs
*/
function getSamlRoles() {
return __awaiter(this, void 0, void 0, function* () {
console.debug('getSocialLoginsProviders()');
console.debug('getSamlRoles()');
return Get(`${SSO_SERVICE_URL_V1}/saml/configurations/roles/default`);

@@ -530,8 +530,7 @@ });

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Update Saml roles for authorization
*/
function updateSamlRoles({ roleIds }) {
return __awaiter(this, void 0, void 0, function* () {
console.debug('getSocialLoginsProviders()');
console.debug('updateSamlRoles()');
return Post(`${SSO_SERVICE_URL_V1}/saml/configurations/roles/default`, { roleIds });

@@ -538,0 +537,0 @@ });

@@ -696,4 +696,4 @@ 'use strict';

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Get Saml roles for authorization
* @return array of role IDs
*/

@@ -703,3 +703,3 @@ function getSamlRoles() {

return tslib.__generator(this, function (_a) {
console.debug('getSocialLoginsProviders()');
console.debug('getSamlRoles()');
return [2 /*return*/, Get(SSO_SERVICE_URL_V1 + "/saml/configurations/roles/default")];

@@ -710,4 +710,3 @@ });

/**
* Get social logins providers configurations for vendor
* @return array of providers configurations
* Update Saml roles for authorization
*/

@@ -718,3 +717,3 @@ function updateSamlRoles(_a) {

return tslib.__generator(this, function (_b) {
console.debug('getSocialLoginsProviders()');
console.debug('updateSamlRoles()');
return [2 /*return*/, Post(SSO_SERVICE_URL_V1 + "/saml/configurations/roles/default", { roleIds: roleIds })];

@@ -721,0 +720,0 @@ });

{
"name": "@frontegg/rest-api",
"libName": "FronteggRestApi",
"version": "1.17.0-alpha.448727561",
"version": "1.17.0-alpha.450729746",
"author": "Frontegg LTD",

@@ -12,5 +12,5 @@ "module": "index.esm.js",

},
"gitHead": "58606e84847b0edf4799d2754507f291d954f880",
"gitHead": "19ccb93d396ae260c2224ef3f9ac2b2df33bedee",
"main": "index.js",
"peerDependencies": {}
}

Sorry, the diff of this file is not supported yet

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