Skip to content

Commit 0169358

Browse files
committed
Add ValidateApiKey
1 parent 82e3c42 commit 0169358

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

MyApp/_pages/declarative-validation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The Validator attributes are decoupled from any implementation and can be safely
2929
| `[ValidateIsAdmin]` | Protect access to this API to Admin Users only |
3030
| `[ValidateHasPermission]` | Protect access to this API to only Users assigned with ALL Permissions |
3131
| `[ValidateHasRole]` | Protect access to this API to only Users assigned with ALL Roles |
32+
| `[ValidateApiKey]` | Protect access to this API to only Users with a valid API Key |
3233

3334
### Property Validation Attributes
3435

MyApp/_pages/locode/declarative.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ implementation dependencies.
170170
| `[ValidateIsAdmin]` | Protect access to this API to Admin Users only |
171171
| `[ValidateHasPermission]` | Protect access to this API to only Users assigned with ALL Permissions |
172172
| `[ValidateHasRole]` | Protect access to this API to only Users assigned with ALL Roles |
173+
| `[ValidateApiKey]` | Protect access to this API to only Users with a valid API Key |
173174

174175
### Property Validation Attributes
175176

0 commit comments

Comments
 (0)