diff options
| author | Matthieu Pignolet <m@mpgn.dev> | 2025-03-09 16:50:11 +0400 |
|---|---|---|
| committer | Matthieu Pignolet <m@mpgn.dev> | 2025-03-09 16:50:11 +0400 |
| commit | 0114724498a5c3b0f181027ac0efd9354c72d9d3 (patch) | |
| tree | 40aa1c4305bbd5bf76e1cf0b8dd34582b1c7d5bf | |
| parent | 1e6f70ba08701bd7edfa1c28cceffbab0ed5e547 (diff) | |
addind a FirstFactorSPNEGO request body struct
| -rw-r--r-- | internal/handlers/types.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/handlers/types.go b/internal/handlers/types.go index 7efba826d..c23b0bd57 100644 --- a/internal/handlers/types.go +++ b/internal/handlers/types.go @@ -117,6 +117,13 @@ type bodyFirstFactorRequest struct { // TODO(c.michaud): add required validation once the above PR is merged. } +type bodyFirstFactorSPNEGOequest struct { + Workflow string `json:"workflow"` + WorkflowID string `json:"workflowID"` + TargetURL string `json:"targetURL"` + RequestMethod string `json:"requestMethod"` +} + // bodyFirstFactorRequest represents the JSON body received by the endpoint. type bodySecondFactorPasswordRequest struct { Password string `json:"password" valid:"required"` |
