UNPKG

gigya-node

Version:
72 lines 3.02 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.FidmSamlIdp = void 0; __exportStar(require("./interfaces/gigya-response"), exports); __exportStar(require("./interfaces/base-params"), exports); var FidmSamlIdp = /** @class */ (function () { function FidmSamlIdp(gigya) { this.gigya = gigya; } /** * This API deletes a SAML Identity Provider (IdP). * * @see http://developers.gigya.com/display/GD/fidm.saml.idp.delIdP+REST */ FidmSamlIdp.prototype.delIdP = function (params, options) { return this.gigya.request('fidm.saml.idp.delIdP', params, options); }; /** * This API retrieves the Gigya site configuration for SAML. * * @see http://developers.gigya.com/display/GD/fidm.saml.idp.getConfig+REST */ FidmSamlIdp.prototype.getConfig = function (params, options) { return this.gigya.request('fidm.saml.idp.getConfig', params, options); }; /** * This API retrieves all the SAML IdP configuration objects that are defined for the site. * * @see http://developers.gigya.com/display/GD/fidm.saml.idp.getRegisteredIdPs+REST */ FidmSamlIdp.prototype.getRegisteredIdPs = function (params, options) { return this.gigya.request('fidm.saml.idp.getRegisteredIdPs', params, options); }; /** * This API imports a SAML Identity Provider (IdP) configuration from a SAML metadata XML. * * @see http://developers.gigya.com/display/GD/fidm.saml.idp.importIdPMetadata+REST */ FidmSamlIdp.prototype.importIdPMetadata = function (params, options) { return this.gigya.request('fidm.saml.idp.importIdPMetadata', params, options); }; /** * This API updates or registers a SAML configuration for a specific Identity Provider (IdP). * * @see http://developers.gigya.com/display/GD/fidm.saml.idp.registerIdP+REST */ FidmSamlIdp.prototype.registerIdP = function (params, options) { return this.gigya.request('fidm.saml.idp.registerIdP', params, options); }; /** * This API updates the Gigya SAML site configuration. * * @see http://developers.gigya.com/display/GD/fidm.saml.idp.setConfig+REST */ FidmSamlIdp.prototype.setConfig = function (params, options) { return this.gigya.request('fidm.saml.idp.setConfig', params, options); }; return FidmSamlIdp; }()); exports.FidmSamlIdp = FidmSamlIdp; exports.default = FidmSamlIdp; //# sourceMappingURL=fidm.saml.idp.js.map