
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@authllizer/vue
Advanced tools
This plugin is a wrapper of Authllizer for comfortable using it in VueJs.
There are VueJs example project in the source code.
$ npm install --save @authllizer/vue
# and install peer dependencies
$ npm install --save @authllizer/core
import Vue from 'vue';
import { default as VueAuthllizer } from '@authllizer/vue';
import { IAuthllizerOptions } from '@authllizer/core';
Vue.use(VueAuthllizer, {
// ...
} as IAuthllizerOptions);
import Vue from 'vue';
import { Authllizer } from '@authllizer/core';
class SomeComponent extends Vue {
doSomething(){
let auth: Authllizer = this.$auth;
}
}
You can use another library as http client see in the doc HttpClient.
import Vue from 'vue';
import { IAuthllizerOptions } from '@authllizer/core';
import VueAuthllizer, { VueAxiosHttpClient } from '@authllizer/vue';
import axios from 'axios';
import * as VueAxios from 'vue-axios';
Vue.use(VueAxios, axios);
Vue.use(VueAuthllizer, {
httpClient: new VueAxiosHttpClient
// ...
} as IAuthllizerOptions)
interceptor
import { VueAxiosTokenInterceptor } from '@authllizer/vue';
import Vue from 'vue';
Vue.axios.interceptors.request.use(VueAxiosTokenInterceptor);
import Vue from 'vue';
import { IAuthllizerOptions } from '@authllizer/core';
import VueAuthllizer from '@authllizer/vue';
import * as VueResource from 'vue-resource';
Vue.use(VueResource);
Vue.use(VueAuthllizer, {...} as IAuthllizerOptions);
interceptor
import { VueResourceTokenInterceptor } from '@authllizer/vue';
import Vue from 'vue';
Vue.resource.interceptors.push(VueResourceTokenInterceptor);
Copyright © 2017 Yisrael Eliav, Licensed under the MIT license.
FAQs
Vue Authllizer Plugin
We found that @authllizer/vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.