@allinmkt/cas

Central Authentication Service (CAS) client for Node.js
1,501
Install
npm install @allinmkt/cas
Latest Version:1.0.47
License:ISC
Last Updated:Aug 19, 2021
Links: npm
Maintainer: b-r-u-n-o

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

vue-full-screen-file-drop

Vue component for full screen file drop

16,061 19
bxs-ui-vue

BSX Components

3,870
@~crazy/watcher

对象观察者

1,049
vue-cookies-ts

A simple Vue.js plugin for handling browser cookies

41,932 3
gitee-ent

A component library for Gitee Enterprise

17,708

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