MCPcopy Create free account
hub / github.com/daodst/chat / Challenge

Struct Challenge

clientapi/auth/user_interactive.go:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144type Challenge struct {
145 Completed []string `json:"completed"`
146 Flows []userInteractiveFlow `json:"flows"`
147 Session string `json:"session"`
148 // TODO: Return any additional `params`
149 Params map[string]interface{} `json:"params"`
150}
151
152// Challenge returns an HTTP 401 with the supported flows for authenticating
153func (u *UserInteractive) Challenge(sessionID string) *util.JSONResponse {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected