Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions models.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 45 additions & 12 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3730,6 +3730,34 @@
"204" : {
"description" : "Authentication is complete.",
"headers" : {
"Access-Control-Expose-Headers" : {
"description" : "Headers exposed to the client",
"explode" : false,
"schema" : {
"type" : "string"
},
"style" : "simple"
},
"X-Cq-Mfa-Configured" : {
"description" : "Indicates if MFA is configured for the user",
"explode" : false,
"schema" : {
"enum" : [ "true", "" ],
"example" : "true",
"type" : "string"
},
"style" : "simple"
},
"X-Cq-Mfa-Required" : {
"description" : "Indicates if MFA is enforced",
"explode" : false,
"schema" : {
"enum" : [ "true", "" ],
"example" : "true",
"type" : "string"
},
"style" : "simple"
},
"Set-Cookie" : {
"description" : "Session cookie",
"explode" : false,
Expand Down Expand Up @@ -3820,19 +3848,15 @@
}
},
"responses" : {
"204" : {
"description" : "Multifactor authentication is complete.",
"headers" : {
"Set-Cookie" : {
"description" : "Session cookie",
"explode" : false,
"201" : {
"content" : {
"application/json" : {
"schema" : {
"example" : "__session=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9Cg...; HttpOnly; Secure; SameSite=None; Path=/; Max-Age=3600",
"type" : "string"
},
"style" : "simple"
"$ref" : "#/components/schemas/UserTOTPVerify_201_response"
}
}
}
},
"description" : "Multifactor authentication is complete."
},
"400" : {
"$ref" : "#/components/responses/BadRequest"
Expand Down Expand Up @@ -11271,11 +11295,20 @@
"additionalProperties" : { },
"properties" : {
"otp" : {
"type" : "string"
"x-go-name" : "OTP"
}
},
"required" : [ "otp" ]
},
"UserTOTPVerify_201_response" : {
"properties" : {
"custom_token" : {
"description" : "Token to exchange for ID token",
"type" : "string"
}
},
"required" : [ "custom_token" ]
},
"UserTOTPSetup_200_response" : {
"properties" : {
"url" : {
Expand Down
Loading