|
3730 | 3730 | "204" : { |
3731 | 3731 | "description" : "Authentication is complete.", |
3732 | 3732 | "headers" : { |
| 3733 | + "Access-Control-Expose-Headers" : { |
| 3734 | + "description" : "Headers exposed to the client", |
| 3735 | + "explode" : false, |
| 3736 | + "schema" : { |
| 3737 | + "type" : "string" |
| 3738 | + }, |
| 3739 | + "style" : "simple" |
| 3740 | + }, |
| 3741 | + "X-Cq-Mfa-Configured" : { |
| 3742 | + "description" : "Indicates if MFA is configured for the user", |
| 3743 | + "explode" : false, |
| 3744 | + "schema" : { |
| 3745 | + "enum" : [ "true", "" ], |
| 3746 | + "example" : "true", |
| 3747 | + "type" : "string" |
| 3748 | + }, |
| 3749 | + "style" : "simple" |
| 3750 | + }, |
| 3751 | + "X-Cq-Mfa-Required" : { |
| 3752 | + "description" : "Indicates if MFA is enforced", |
| 3753 | + "explode" : false, |
| 3754 | + "schema" : { |
| 3755 | + "enum" : [ "true", "" ], |
| 3756 | + "example" : "true", |
| 3757 | + "type" : "string" |
| 3758 | + }, |
| 3759 | + "style" : "simple" |
| 3760 | + }, |
3733 | 3761 | "Set-Cookie" : { |
3734 | 3762 | "description" : "Session cookie", |
3735 | 3763 | "explode" : false, |
|
3820 | 3848 | } |
3821 | 3849 | }, |
3822 | 3850 | "responses" : { |
3823 | | - "204" : { |
3824 | | - "description" : "Multifactor authentication is complete.", |
3825 | | - "headers" : { |
3826 | | - "Set-Cookie" : { |
3827 | | - "description" : "Session cookie", |
3828 | | - "explode" : false, |
| 3851 | + "201" : { |
| 3852 | + "content" : { |
| 3853 | + "application/json" : { |
3829 | 3854 | "schema" : { |
3830 | | - "example" : "__session=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9Cg...; HttpOnly; Secure; SameSite=None; Path=/; Max-Age=3600", |
3831 | | - "type" : "string" |
3832 | | - }, |
3833 | | - "style" : "simple" |
| 3855 | + "$ref" : "#/components/schemas/UserTOTPVerify_201_response" |
| 3856 | + } |
3834 | 3857 | } |
3835 | | - } |
| 3858 | + }, |
| 3859 | + "description" : "Multifactor authentication is complete." |
3836 | 3860 | }, |
3837 | 3861 | "400" : { |
3838 | 3862 | "$ref" : "#/components/responses/BadRequest" |
@@ -11271,11 +11295,20 @@ |
11271 | 11295 | "additionalProperties" : { }, |
11272 | 11296 | "properties" : { |
11273 | 11297 | "otp" : { |
11274 | | - "type" : "string" |
| 11298 | + "x-go-name" : "OTP" |
11275 | 11299 | } |
11276 | 11300 | }, |
11277 | 11301 | "required" : [ "otp" ] |
11278 | 11302 | }, |
| 11303 | + "UserTOTPVerify_201_response" : { |
| 11304 | + "properties" : { |
| 11305 | + "custom_token" : { |
| 11306 | + "description" : "Token to exchange for ID token", |
| 11307 | + "type" : "string" |
| 11308 | + } |
| 11309 | + }, |
| 11310 | + "required" : [ "custom_token" ] |
| 11311 | + }, |
11279 | 11312 | "UserTOTPSetup_200_response" : { |
11280 | 11313 | "properties" : { |
11281 | 11314 | "url" : { |
|
0 commit comments