UNPKG

@capimjs/library-auth

Version:

Professional API using Clean Architecture and TDD. to group validators

1 lines 423 B
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"makeAuth",{enumerable:true,get:()=>makeAuth});const _gateways=require("../../../../../infra/gateways");const _httpclient=require("../http-client");const _env=require("../../../../config/env");const makeAuth=()=>{return new _gateways.MicroserviceAuth((0,_httpclient.makeAxiosHttpClient)(),_env.env.microservices.auth.api)};