auth0
Version:
Auth0 Node.js SDK for the Management API v2.
23 lines (22 loc) • 1.03 kB
JavaScript
// This file was auto-generated by Fern from our API Definition.
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs";
import { CustomSigningClient } from "../resources/customSigning/client/Client.mjs";
import { EncryptionClient } from "../resources/encryption/client/Client.mjs";
import { SigningClient } from "../resources/signing/client/Client.mjs";
export class KeysClient {
constructor(options) {
this._options = normalizeClientOptionsWithAuth(options);
}
get customSigning() {
var _a;
return ((_a = this._customSigning) !== null && _a !== void 0 ? _a : (this._customSigning = new CustomSigningClient(this._options)));
}
get encryption() {
var _a;
return ((_a = this._encryption) !== null && _a !== void 0 ? _a : (this._encryption = new EncryptionClient(this._options)));
}
get signing() {
var _a;
return ((_a = this._signing) !== null && _a !== void 0 ? _a : (this._signing = new SigningClient(this._options)));
}
}