Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pwntus/vuex-cognito-module
https://github.com/pwntus/vuex-cognito-module
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pwntus/vuex-cognito-module
- Owner: Pwntus
- Created: 2018-08-29T14:52:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T14:56:41.000Z (over 6 years ago)
- Last Synced: 2024-12-15T19:05:39.372Z (7 days ago)
- Language: JavaScript
- Size: 2.75 MB
- Stars: 0
- Watchers: 3
- 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')
```