A Vue.js plugin for authentication on the e-city platform, providing methods for sign-in, sign-out, password update, account management, image upload, address management, module permissions, and fetching current user info. Currently at version 0.0.16, with no stable release cadence. It is tightly coupled to a specific backend (http://isse.paliari.com.br/app/rest) and requires a Promise polyfill for older browsers. Not actively maintained; limited documentation and no TypeScript support.
npm install auth-jsVerified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of auth-js with signIn method after initializing with configuration.
Manually create a .d.ts file or use `// @ts-ignore` for type safety.
Always attach .catch() to handle errors gracefully.
Ensure the API is accessible and matches expected endpoints.
Run `npm install auth-js` or `yarn add auth-js` in your project root.
Use `const AuthJs = require('auth-js')` and ensure the variable name matches.Install the plugin correctly: `Vue.use(Auth, { baseURL })` after defining Auth with install function.