Add OAuth

This commit is contained in:
2021-05-22 11:28:42 +02:00
parent 66b4709011
commit b4c2b634d4
7 changed files with 177 additions and 4 deletions

View File

@@ -55,6 +55,19 @@ declare module '@ioc:Adonis/Addons/Auth' {
|
*/
interface GuardsList {
/*
|--------------------------------------------------------------------------
| Web Guard
|--------------------------------------------------------------------------
|
| The web guard uses sessions for maintaining user login state. It uses
| the `user` provider for fetching user details.
|
*/
web: {
implementation: SessionGuardContract<'user', 'web'>,
config: SessionGuardConfig<'user'>,
},
/*
|--------------------------------------------------------------------------
| OAT Guard