berbix-vue
Vue SDK for the Berbix Verify flow
424,818
3
| Install | |
|---|---|
npm install berbix-vue@beta |
|
| Latest Version: | 3.0.1 |
| License: | MIT |
| Last Updated: | Jul 11, 2023 |
| Links: | GitHub · npm |
Maintainer: ericlevine
Berbix Vue.js SDK
This Berbix Vue.js library provides simple interfaces to interact with the Berbix Verify flow.
Installation
npm install berbix-vue
Usage
Basic usage
<template>
<div id="app">
<BerbixVerify
clientToken="your_client_token"
@complete="handleComplete"
/>
</div>
</template>
<script>
import BerbixVerify from 'berbix-vue';
export default {
name: 'app',
components: {
BerbixVerify
},
methods: {
handleComplete(event) {
// send event.value to backend to fetch user verification data
},
}
}
</script>
Props
props: {
clientToken: String,
showInModal: Boolean,
showCloseModalButton: Boolean,
}
Events
The following events are emitted from the component:
display: fires when the component is loaded and ready to be displayedcomplete: fires when the user has completed the verification flowstate-change: fires when the user transitions between verificationserror: fires when some error occurs in the flow
Publishing
# Update the version in package.json
npm run build
npm publish
Related Packages
@lsw-abpvue/identity
The user and role management UI of the ABP Vue UI, built entirely on the extensi...
994
3
@verdeect/identity-nav-vue
Vue 3 integration with Verdeect Identity Service: global navigation rail, profil...
2,394
0
Version History
| Version | Released | License |
|---|---|---|
| 3.0.1 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.0.12 | MIT | |
| 0.0.11 | MIT | |
| 0.0.10 | MIT | |
| 0.0.9 | MIT | |
| 0.0.8 | MIT | |
| 0.0.7 | MIT | |
| 0.0.6 | MIT | |
| 0.0.5 | MIT | |
| 0.0.4 | MIT | |
| 0.0.3 | MIT | |
| 0.0.2 | MIT | |
| 0.0.1 | MIT |