Skip to content

Commit ef110b2

Browse files
committed
Add operation and field constants
- Add operationEvaluate, operationLookup, operationVerify constants - Add fieldID constant for API responses - Prepare for replacing telemetry operation strings
1 parent 1641b47 commit ef110b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

services/authz/server/server.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ const (
4949
serviceNameMFA = "mfa"
5050
serviceNameInventory = "inventory"
5151
statusError = "error"
52+
operationEvaluate = "evaluate"
53+
operationLookup = "lookup"
54+
operationVerify = "verify"
55+
fieldID = "id"
5256
errDecodeRequest = "bad request"
5357
errMissingMFAParams = "missing MFA parameters"
5458
errMethodNotAllowed = "method not allowed"

0 commit comments

Comments
 (0)