providers.js 701 B

123456789101112131415161718192021
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.AUTH_MECHS_AUTH_SRC_EXTERNAL = exports.AuthMechanism = void 0;
  4. /** @public */
  5. exports.AuthMechanism = Object.freeze({
  6. MONGODB_AWS: 'MONGODB-AWS',
  7. MONGODB_CR: 'MONGODB-CR',
  8. MONGODB_DEFAULT: 'DEFAULT',
  9. MONGODB_GSSAPI: 'GSSAPI',
  10. MONGODB_PLAIN: 'PLAIN',
  11. MONGODB_SCRAM_SHA1: 'SCRAM-SHA-1',
  12. MONGODB_SCRAM_SHA256: 'SCRAM-SHA-256',
  13. MONGODB_X509: 'MONGODB-X509'
  14. });
  15. /** @internal */
  16. exports.AUTH_MECHS_AUTH_SRC_EXTERNAL = new Set([
  17. exports.AuthMechanism.MONGODB_GSSAPI,
  18. exports.AuthMechanism.MONGODB_AWS,
  19. exports.AuthMechanism.MONGODB_X509
  20. ]);
  21. //# sourceMappingURL=providers.js.map