Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Commit a74f507

Browse files
committed
feat(firebase-auth): add firebase auth package
1 parent e0b229c commit a74f507

29 files changed

+708
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# vuex-cognito-module
2+
3+
Vuex module to interface with AWS Cognito
4+
5+
Docs Link: Coming Soon!
6+
7+
Install:
8+
```bash
9+
yarn add @vuetify/vuex-cognito-module
10+
```
11+
12+
Import into your project's entry point (main.js in most Vue projects)
13+
```js
14+
import attachCognitoModule from '@vuetify/vuex-cognito-module';
15+
```
16+
17+
Attach cognito module to the store
18+
```js
19+
import store from './store';
20+
attachCognitoModule(store, {
21+
userPoolId: 'your-data-here',
22+
identityPoolId: 'your-data-here',
23+
userPoolWebClientId: 'your-data-here',
24+
region: 'your-data-here',
25+
}, 'cognito')
26+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "vuetify-vuex-firebase-auth-module-docs",
3+
"type": "static",
4+
"static": {
5+
"public": "docs/.vuepress/dist"
6+
},
7+
"alias": "firebase-auth.vuetifyjs.com",
8+
"files": [
9+
"docs/.vuepress/dist"
10+
]
11+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
module.exports = {
2+
title: 'Vuetify Vuex ',
3+
4+
head: [
5+
['link', { rel: 'icon', href: `/logo.png` }]
6+
],
7+
8+
// ga: 'UA-75262397-5', // TODO: add me
9+
10+
themeConfig: {
11+
nav: [
12+
{
13+
text: 'Get Help',
14+
link: 'https://discord.gg/q6UtSjz'
15+
},
16+
{
17+
text: 'Firebase Auth Dev Resources',
18+
link: 'https://firebase.google.com/docs/reference/js/firebase.auth/'
19+
}
20+
],
21+
sidebar: [
22+
{
23+
title: 'Getting started',
24+
collapsable: false,
25+
children: [
26+
'guide/install'
27+
]
28+
},
29+
{
30+
title: 'API',
31+
collapsable: false,
32+
children: [
33+
'api/actions',
34+
'api/getters'
35+
]
36+
},
37+
{
38+
title: 'Firebase Auth',
39+
collapsable: false,
40+
children: [
41+
'firebase/setup',
42+
]
43+
}
44+
]
45+
}
46+
}
220 KB
Loading
548 KB
Loading
212 KB
Loading
188 KB
Loading
253 KB
Loading
611 KB
Loading

0 commit comments

Comments
Β (0)