added new patch fields for unsecuring a token

This commit is contained in:
MirjamHTM committed 2026-10-01 13:24:00 +02:00
1 parent f7e0f57468
commit bb88040385
1 file changed
+20 -2
@@ -228,11 +228,21 @@ paths:
schema: schema:
$ref: "#/components/schemas/SecurityValidateTokenBody" $ref: "#/components/schemas/SecurityValidateTokenBody"
examples: examples:
token: validateOtpForAuth:
value: value:
{ {
"otp": "123456" "otp": "123456"
} }
otpKeyForUnsecure:
value:
{
"unsecureOtpKey": "123456789123456789123456789abcde"
}
validateOtpForUnsecure:
value:
{
"unsecureOtp": "123456"
}
responses: responses:
"200": "200":
description: OK description: OK
@@ -408,10 +418,18 @@ components:
description: Body for when the a token entry is validated description: Body for when the a token entry is validated
type: object type: object
required: required:
- otp
properties: properties:
otp: otp:
type : string type : string
description: >- description: >-
OTP to be used to secure the token and retrieve the JWT at GBO OTP to be used to secure the token and retrieve the JWT at GBO
example: 123456
unsecureOtpKey:
type : string
description: >-
Key used to validate the OTP at GBO for unsecuring a token
example: 123456789123456789123456789abcde
unsecureOtp:
description: >-
OTP to be used to unsecure the token at GBO
example: 123456 example: 123456