Skip to content

Commit 4fdbb37

Browse files
committed
PayloadUsernamePassword
1 parent e5079dd commit 4fdbb37

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

src/main/resources/wfc/schemas/auth.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,17 @@ $def:
125125
description: "Payload with username and password information. \
126126
It will be automatically formatted in a proper payload based on content type."
127127
type: object
128-
### TODO
128+
properties:
129+
username:
130+
description: "The id of the user."
131+
type: string
132+
password:
133+
description: "The password of the user, in plain-text. This must NOT be hashed."
134+
type: string
135+
usernameField:
136+
description: "The name of the field in the body payload containing the username."
137+
type: string
138+
passwordField:
139+
description: "The name of the field in the body payload containing the password"
140+
type: string
141+
required: ["username","usernameField","password","passwordField"]

0 commit comments

Comments
 (0)