@vuetify/vuex-cognito-module
v0.5.4
Published
Vuex module to interface with AWS Cognito
Downloads
130
Readme
vuex-cognito-module
Vuex module to interface with AWS Cognito
Docs Link: https://cognito.vuetifyjs.com/
Install:
yarn add @vuetify/vuex-cognito-module
Import into your project's entry point (main.js in most Vue projects)
import attachCognitoModule from '@vuetify/vuex-cognito-module';
Attach cognito module to the store
import store from './store';
attachCognitoModule(store, {
userPoolId: 'your-data-here',
identityPoolId: 'your-data-here',
userPoolWebClientId: 'your-data-here',
region: 'your-data-here',
}, 'cognito')