@allinmkt/cas
CAS
Central Authentication Service (CAS) client for Node.js
This module handle all the communication between application and CAS API
Installation
via npm:
$ npm install @allinmkt/cas
Usage
Params
Those params are needed to CAS work successfully
| Name | Description |
|---|---|
| store | All data in your Vuex |
| redirect | Needs to be True to CAS redirect the user to login page |
| application | Application ID signed on CAS database |
| secret | JWT secret to CAS handle with the verify part |
Setup
import cas from '@allinmkt/cas'
Vue.use(cas, {
store,
redirect: true,
application: process.env.VUE_APP_ID,
secret: process.env.VUE_APP_JWT_SECRET
})
Instance with Vuejs
Vue.CAS.getPerms().then(data => {
new Vue({
router,
store,
i18n,
vuetify,
async created() {},
render: h => h(App)
}).$mount("#app")
})
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 1.0.47 | ISC | |
| 1.0.46 | ISC | |
| 1.0.45 | ISC | |
| 1.0.44 | ISC | |
| 1.0.43 | ISC | |
| 1.0.42 | ISC | |
| 1.0.41 | ISC | |
| 1.0.40 | ISC | |
| 1.0.39 | ISC | |
| 1.0.38 | ISC | |
| 1.0.37 | ISC | |
| 1.0.36 | ISC | |
| 1.0.35 | ISC | |
| 1.0.34 | ISC | |
| 1.0.33 | ISC | |
| 1.0.32 | ISC | |
| 1.0.31 | ISC | |
| 1.0.30 | ISC | |
| 1.0.29 | ISC | |
| 1.0.28 | ISC | |
| 1.0.27 | ISC | |
| 1.0.26 | ISC | |
| 1.0.25 | ISC | |
| 1.0.24 | ISC | |
| 1.0.23 | ISC | |
| 1.0.22 | ISC | |
| 1.0.21 | ISC | |
| 1.0.20 | ISC | |
| 1.0.19 | ISC | |
| 1.0.18 | ISC |
Showing the latest 30 of 39. See every release on npm