UNPKG

vue-auth3

Version:

<p align="center"> <img src="./docs/public/icon.svg" width="180px"> </p>

19 lines (18 loc) 444 B
import { defineAuthDriver } from "../../chunk-T4OYN7ZE.mjs"; import "../../chunk-MI2N2CU6.mjs"; // src/drivers/auth/basic.ts var basic_default = defineAuthDriver({ request(auth, options, token) { options.headers["Authorization"] = token; return options; }, response(auth, { headers }) { return headers.Authorization || headers.authorization; } }); export { basic_default as default }; //# sourceMappingURL=basic.mjs.map