-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
7,421 additions
and
112 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
module.exports = { | ||
title: 'Auth Module', | ||
description: 'Authentication module for Nuxt', | ||
themeConfig: { | ||
repo: 'nuxt-community/auth-module', | ||
docsDir: 'docs', | ||
editLinks: true, | ||
editLinkText: 'Edit this page on GitHub', | ||
sidebarDepth: 2, | ||
sidebar: { | ||
'/api/': [ | ||
'/api/auth', | ||
'/api/options', | ||
'/api/storage' | ||
], | ||
'/': [ | ||
{ | ||
title: 'Guide', | ||
collapsable: false, | ||
children: [ | ||
'/', | ||
'/guide/setup', | ||
'/guide/scheme', | ||
'/guide/provider', | ||
] | ||
}, | ||
{ | ||
title: 'Schemes', | ||
collapsable: false, | ||
children: [ | ||
'/schemes/local', | ||
'/schemes/oauth2' | ||
] | ||
}, | ||
{ | ||
title: 'Providers', | ||
collapsable: false, | ||
children: [ | ||
'/providers/auth0', | ||
'/providers/facebook', | ||
'/providers/github', | ||
'/providers/google', | ||
'/providers/laravel-passport' | ||
] | ||
} | ||
], | ||
}, | ||
nav: [ | ||
{ | ||
text: 'Guide', | ||
link: '/' | ||
}, | ||
{ | ||
text: 'API', | ||
link: '/api/' | ||
} | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# API | ||
|
||
- [options](./options.md) | ||
- [auth](./auth.md) | ||
- [storage](./storage.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"dev": "vuepress dev", | ||
"build": "vuepress build" | ||
}, | ||
"devDependencies": { | ||
"vuepress": "^1.0.0-alpha.47" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,6 @@ auth: { | |
} | ||
``` | ||
|
||
## Usage | ||
|
||
Anywhere in your application logic: | ||
|
||
```js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Auth Module | ||
|
||
Zero-boilerplate authentication support for Nuxt.js! | ||
|
||
## Getting Started | ||
|
||
If it is first time using this module, reading resources below in order is recommended: | ||
|
||
1. [Add auth and axios modules](./guide/setup.md) | ||
2. [Configure local scheme](./schemes/local.md) | ||
3. [Customize options](./api/options.md) | ||
4. [Use `$auth` service](./api/auth.md) | ||
|
||
## More Resources | ||
|
||
* [Glassory](./glassory.md) | ||
* [GitHub](https://github.com/nuxt-community/auth-module) | ||
* [Releases](https://github.com/nuxt-community/auth-module/releases) | ||
* [Migration Guide](./migration.md) | ||
* [Examples](https://github.com/nuxt-community/auth-module/tree/dev/examples) | ||
* [Demo](https://nuxt-auth.herokuapp.com) | ||
|
Oops, something went wrong.