1.0.10 • Published 4 years ago

cas-module v1.0.10

Weekly downloads
5
License
ISC
Repository
-
Last release
4 years ago

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

NameDescription
storeAll data in your Vuex
redirectNeeds to be True to CAS redirect the user to login page
applicationApplication ID signed on CAS database
secretJWT secret to CAS handle with the verify part
1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago