Skip to content

Commit

Permalink
fix: add missing client option to the guards list interface
Browse files Browse the repository at this point in the history
Closes: #200
  • Loading branch information
thetutlage committed Jun 15, 2022
1 parent 01da8f9 commit 946e730
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/contract/partials/api-guard.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
api: {
implementation: OATGuardContract<'user', 'api'>
config: OATGuardConfig<'user'>
client: OATClientContract<'user'>
}
1 change: 1 addition & 0 deletions templates/contract/partials/basic-guard.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
basic: {
implementation: BasicAuthGuardContract<'user', 'basic'>
config: BasicAuthGuardConfig<'user'>
client: BasicAuthClientContract<'user'>
}
1 change: 1 addition & 0 deletions templates/contract/partials/web-guard.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@
web: {
implementation: SessionGuardContract<'user', 'web'>
config: SessionGuardConfig<'user'>
client: SessionClientContract<'user'>
}

0 comments on commit 946e730

Please sign in to comment.