@rhangai/web-auth
v1.1.0
Published
Authentication handler for nuxt
Downloads
5
Readme
@rhangai/web-auth
Authentication for Web Applications
Usage with nuxt
module.exports = {
// ...
//
modules: ["@rhangai/web-auth"],
auth: {
config: "~/config/auth.config"
},
build: {
transpile: ["@rhangai/web-auth"]
}
};
Then create a file config/auth.config.js
export default function(context) {
return {
provider: new MyProvider(),
storage: new MyStorage()
};
}