Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@websanova/vue-auth

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@websanova/vue-auth - npm Package Compare versions

Comparing version 2.21.6-beta to 2.21.7-beta

2

demos/1.x/package.json
{
"dependencies": {
"@websanova/vue-auth": "2.21.6-beta"
"@websanova/vue-auth": "2.21.7-beta"
},

@@ -5,0 +5,0 @@

{
"dependencies": {
"@websanova/vue-auth": "2.21.6-beta",
"@websanova/vue-auth": "2.21.7-beta",
"axios": "0.16.2",

@@ -5,0 +5,0 @@ "vue-axios": "2.0.2"

{
"dependencies": {
"nuxt": "1.0.0-rc3",
"@websanova/vue-auth": "2.21.6-beta",
"@websanova/vue-auth": "2.21.7-beta",
"vue-resource": "1.3.4",

@@ -6,0 +6,0 @@ "axios": "0.16.2",

@@ -47,3 +47,3 @@ {

"dependencies": {
"@websanova/vue-auth": "2.21.6-beta",
"@websanova/vue-auth": "2.21.7-beta",
"axios": "^0.16.2",

@@ -50,0 +50,0 @@ "compression": "^1.6.2",

@@ -35,1 +35,29 @@ # FAQ

Note that `vue-auth` simply forwards all the arguments into whatever http plugin/module you are using. So for `vue-axios` it will be a `data` parameter and for `vue-resource` it's a `body` parameter.
## Manually Setting User
Sometimes you may need to set your own user manually via some other method, perhaps from some token.
~~~
Vue.use(VueAuth, {
...
loginData: {
fetchUser: false
},
fetchData: {
enabled: false,
success: function () {
var token = Vue.auth.token();
Vue.auth.user(/* user object */);
}
},
...
});
~~~

@@ -17,3 +17,3 @@ {

"version": "2.21.6-beta",
"version": "2.21.7-beta",

@@ -20,0 +20,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc