@websanova/vue-auth
Advanced tools
Comparing version 3.2.0-beta to 3.2.1-beta
@@ -13,3 +13,5 @@ { | ||
"vuex": "3.1.2", | ||
"axios": "0.19.2", | ||
"core-js": "3.6.4", | ||
"vue-axios": "2.1.5", | ||
"vue-router": "3.1.5", | ||
@@ -38,5 +40,3 @@ "vue-resource": "1.5.1" | ||
], | ||
"rules": { | ||
}, | ||
"rules": {}, | ||
"parserOptions": { | ||
@@ -56,2 +56,2 @@ "parser": "babel-eslint" | ||
] | ||
} | ||
} |
import Vue from 'vue' | ||
// Vue-Auth | ||
import auth from '@websanova/vue-auth/src/index.js'; | ||
import authBearer from '@websanova/vue-auth/drivers/auth/bearer.js'; | ||
import httpAxios from '@websanova/vue-auth/drivers/http/axios.1.x.js'; | ||
import httpVueResource from '@websanova/vue-auth/drivers/http/vue-resource.1.x.js'; | ||
@@ -16,3 +16,4 @@ import routerVueRouter from '@websanova/vue-auth/drivers/router/vue-router.2.x.js'; | ||
auth: authBearer, | ||
http: httpVueResource, | ||
// http: httpAxios, // Axios | ||
http: httpVueResource, // Vue Resource | ||
router: routerVueRouter, | ||
@@ -19,0 +20,0 @@ rolesKey: 'type', |
import Vue from 'vue'; | ||
// Vue Resource | ||
import VueResource from 'vue-resource'; | ||
Vue.use(VueResource); | ||
Vue.http.options.root = process.env.VUE_APP_API_URL; | ||
// Axios | ||
// import axios from 'axios'; | ||
// import VueAxios from 'vue-axios'; | ||
// axios.defaults.baseURL = process.env.VUE_APP_API_URL; | ||
// Vue.use(VueAxios, axios); | ||
export default { | ||
root: process.env.VUE_APP_API_URL | ||
}; |
@@ -27,3 +27,4 @@ import Vue from 'vue'; | ||
url: 'auth/login', | ||
body: data.body, | ||
body: this.form.body, // VueResource | ||
data: this.form.body, // Axios | ||
remember: data.remember, | ||
@@ -54,3 +55,4 @@ staySignedIn: data.staySignedIn, | ||
url: 'auth/register', | ||
body: data.body, | ||
body: this.form.body, // VueResource | ||
data: this.form.body, // Axios | ||
autoLogin: false, | ||
@@ -57,0 +59,0 @@ }) |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.1.5-beta | ||
* @websanova/vue-auth v3.2.1-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -6,3 +6,3 @@ { | ||
"keywords": ["vue", "vue.js", "jwt", "auth", "authentication", "plugin", "json", "web", "token"], | ||
"keywords": ["vue", "vue.js", "vuejs", "plugin", "jwt", "auth", "authentication", "authorize", "authenticate", "bearer", "basic", "axios", "http", "api", "json", "web", "token"], | ||
@@ -23,3 +23,3 @@ "homepage": "https://websanova.com/docs/vue-auth", | ||
"version": "3.2.0-beta", | ||
"version": "3.2.1-beta", | ||
@@ -26,0 +26,0 @@ "repository": { |
@@ -25,2 +25,3 @@ # Vue Auth | ||
* [Home](https://websanova.com/docs/vue-auth) | ||
* [Guides](https://websanova.com/docs/vue-auth/guides) | ||
@@ -27,0 +28,0 @@ * [Recipes](https://websanova.com/docs/vue-auth/recipes) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
203150
4707
38
0
2258