Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

cas-module

1.0.10 • Public • Published

CAS-MODULE

Usage

After instaling cas-module, start the package from Vue and pass the required params

import cas from 'cas-module'
 
Vue.use(cas, {store, redirect: true, application: process.env.VUE_APP_ID,  secret: process.env.VUE_APP_JWT_SECRET})
 
new Vue({
  el: '#app',
  router,
  store,
  cas,
  components: { App },
  template: '<App/>'
})
 

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

Install

npm i cas-module

DownloadsWeekly Downloads

3

Version

1.0.10

License

ISC

Unpacked Size

12.4 kB

Total Files

26

Last publish

Collaborators

  • avatar