UNPKG

auth0

Version:

Auth0 Node.js SDK for the Management API v2.

23 lines (22 loc) 1.01 kB
// This file was auto-generated by Fern from our API Definition. import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import { EnrollmentsClient } from "../resources/enrollments/client/Client.mjs"; import { FactorsClient } from "../resources/factors/client/Client.mjs"; import { PoliciesClient } from "../resources/policies/client/Client.mjs"; export class GuardianClient { constructor(options) { this._options = normalizeClientOptionsWithAuth(options); } get enrollments() { var _a; return ((_a = this._enrollments) !== null && _a !== void 0 ? _a : (this._enrollments = new EnrollmentsClient(this._options))); } get factors() { var _a; return ((_a = this._factors) !== null && _a !== void 0 ? _a : (this._factors = new FactorsClient(this._options))); } get policies() { var _a; return ((_a = this._policies) !== null && _a !== void 0 ? _a : (this._policies = new PoliciesClient(this._options))); } }