gigya-node
Version:
Gigya SDK for NodeJS
77 lines • 3.21 kB
JavaScript
;
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.FidmSaml = void 0;
var fidm_saml_idp_1 = require("./fidm.saml.idp");
__exportStar(require("./fidm.saml.idp"), exports);
__exportStar(require("./interfaces/gigya-response"), exports);
__exportStar(require("./interfaces/base-params"), exports);
__exportStar(require("./interfaces/saml-config"), exports);
__exportStar(require("./interfaces/external-idp"), exports);
var FidmSaml = /** @class */ (function () {
function FidmSaml(gigya) {
this.gigya = gigya;
this.idp = new fidm_saml_idp_1.default(gigya);
}
/**
* This API deletes a SAML Identity Provider (IdP).
*
* @see http://developers.gigya.com/display/GD/fidm.saml.delIdP+REST
*/
FidmSaml.prototype.delIdP = function (params, options) {
return this.gigya.request('fidm.saml.delIdP', params, options);
};
/**
* This API retrieves the Gigya site configuration for SAML.
*
* @see http://developers.gigya.com/display/GD/fidm.saml.getConfig+REST
*/
FidmSaml.prototype.getConfig = function (params, options) {
return this.gigya.request('fidm.saml.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.getRegisteredIdPs+REST
*/
FidmSaml.prototype.getRegisteredIdPs = function (params, options) {
return this.gigya.request('fidm.saml.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.importIdPMetadata+REST
*/
FidmSaml.prototype.importIdPMetadata = function (params, options) {
return this.gigya.request('fidm.saml.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.registerIdP+REST
*/
FidmSaml.prototype.registerIdP = function (params, options) {
return this.gigya.request('fidm.saml.registerIdP', params, options);
};
/**
* This API updates the Gigya SAML site configuration.
*
* @see http://developers.gigya.com/display/GD/fidm.saml.setConfig+REST
*/
FidmSaml.prototype.setConfig = function (params, options) {
return this.gigya.request('fidm.saml.setConfig', params, options);
};
return FidmSaml;
}());
exports.FidmSaml = FidmSaml;
exports.default = FidmSaml;
//# sourceMappingURL=fidm.saml.js.map