[EDIT] FILE: STS.js.tar
home/koolde6/public_html/lovestrong/server/node_modules/@aws-sdk/client-sts/dist-es/STS.js 0000755 00000011723 15074072621 0025656 0 ustar 00 import { AssumeRoleCommand } from "./commands/AssumeRoleCommand"; import { AssumeRoleWithSAMLCommand, } from "./commands/AssumeRoleWithSAMLCommand"; import { AssumeRoleWithWebIdentityCommand, } from "./commands/AssumeRoleWithWebIdentityCommand"; import { DecodeAuthorizationMessageCommand, } from "./commands/DecodeAuthorizationMessageCommand"; import { GetAccessKeyInfoCommand, } from "./commands/GetAccessKeyInfoCommand"; import { GetCallerIdentityCommand, } from "./commands/GetCallerIdentityCommand"; import { GetFederationTokenCommand, } from "./commands/GetFederationTokenCommand"; import { GetSessionTokenCommand, } from "./commands/GetSessionTokenCommand"; import { STSClient } from "./STSClient"; export class STS extends STSClient { assumeRole(args, optionsOrCb, cb) { const command = new AssumeRoleCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } assumeRoleWithSAML(args, optionsOrCb, cb) { const command = new AssumeRoleWithSAMLCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } assumeRoleWithWebIdentity(args, optionsOrCb, cb) { const command = new AssumeRoleWithWebIdentityCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } decodeAuthorizationMessage(args, optionsOrCb, cb) { const command = new DecodeAuthorizationMessageCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getAccessKeyInfo(args, optionsOrCb, cb) { const command = new GetAccessKeyInfoCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getCallerIdentity(args, optionsOrCb, cb) { const command = new GetCallerIdentityCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getFederationToken(args, optionsOrCb, cb) { const command = new GetFederationTokenCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getSessionToken(args, optionsOrCb, cb) { const command = new GetSessionTokenCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } } home/koolde6/public_html/lovestrong/server/node_modules/@aws-sdk/client-sts/dist-cjs/STS.js 0000755 00000012503 15074267037 0026032 0 ustar 00 "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.STS = void 0; const AssumeRoleCommand_1 = require("./commands/AssumeRoleCommand"); const AssumeRoleWithSAMLCommand_1 = require("./commands/AssumeRoleWithSAMLCommand"); const AssumeRoleWithWebIdentityCommand_1 = require("./commands/AssumeRoleWithWebIdentityCommand"); const DecodeAuthorizationMessageCommand_1 = require("./commands/DecodeAuthorizationMessageCommand"); const GetAccessKeyInfoCommand_1 = require("./commands/GetAccessKeyInfoCommand"); const GetCallerIdentityCommand_1 = require("./commands/GetCallerIdentityCommand"); const GetFederationTokenCommand_1 = require("./commands/GetFederationTokenCommand"); const GetSessionTokenCommand_1 = require("./commands/GetSessionTokenCommand"); const STSClient_1 = require("./STSClient"); class STS extends STSClient_1.STSClient { assumeRole(args, optionsOrCb, cb) { const command = new AssumeRoleCommand_1.AssumeRoleCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } assumeRoleWithSAML(args, optionsOrCb, cb) { const command = new AssumeRoleWithSAMLCommand_1.AssumeRoleWithSAMLCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } assumeRoleWithWebIdentity(args, optionsOrCb, cb) { const command = new AssumeRoleWithWebIdentityCommand_1.AssumeRoleWithWebIdentityCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } decodeAuthorizationMessage(args, optionsOrCb, cb) { const command = new DecodeAuthorizationMessageCommand_1.DecodeAuthorizationMessageCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getAccessKeyInfo(args, optionsOrCb, cb) { const command = new GetAccessKeyInfoCommand_1.GetAccessKeyInfoCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getCallerIdentity(args, optionsOrCb, cb) { const command = new GetCallerIdentityCommand_1.GetCallerIdentityCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getFederationToken(args, optionsOrCb, cb) { const command = new GetFederationTokenCommand_1.GetFederationTokenCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } getSessionToken(args, optionsOrCb, cb) { const command = new GetSessionTokenCommand_1.GetSessionTokenCommand(args); if (typeof optionsOrCb === "function") { this.send(command, optionsOrCb); } else if (typeof cb === "function") { if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); this.send(command, optionsOrCb || {}, cb); } else { return this.send(command, optionsOrCb); } } } exports.STS = STS;
SAVE
CANCEL