0.5.4 • Published 5 years ago

@brightcrowd/vuex-cognito-module v0.5.4

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

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')