https://github.com/pwntus/vuex-cognito-module
https://github.com/pwntus/vuex-cognito-module
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pwntus/vuex-cognito-module
- Owner: Pwntus
- Created: 2018-08-29T14:52:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T14:56:41.000Z (almost 7 years ago)
- Last Synced: 2025-03-29T04:47:10.612Z (4 months ago)
- Language: JavaScript
- Size: 2.75 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vuex-cognito-module
Vuex module to interface with AWS Cognito
Install:
```bash
yarn add @vuetify/vuex-cognito-module
```Import into your project's entry point (main.js in most Vue projects)
```js
import attachCognitoModule from '@vuetify/vuex-cognito-module';
```Attach cognito module to the store
```js
import store from './store';
attachCognitoModule(store, {
userPoolId: 'your-data-here',
identityPoolId: 'your-data-here',
userPoolWebClientId: 'your-data-here',
region: 'your-data-here',
}, 'cognito')
```