Skip to content

Commit f7f1bc9

Browse files
committed
finishing auth first draft
1 parent 4fdbb37 commit f7f1bc9

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,17 @@ $def:
119119
Not needed if rather expect to get back a cookie."
120120
type: object
121121
properties:
122-
### TODO
122+
extractFromField:
123+
description: "How to extract the token from a JSON response, as such JSON could have few fields, possibly nested. \
124+
It is expressed as a JSON Pointer (RFC 6901)."
125+
type: string
126+
httpHeaderName:
127+
description: "When sending a token in an HTTP header, specify to which header to add it (e.g., 'Authorization')."
128+
type: string
129+
headerPrefix:
130+
description: " When sending out the obtained token in an HTTP header, specify if there should be any \
131+
prefix (e.g., 'Bearer ' or 'JWT '). If needed, make sure it has trailing space(s)."
132+
type: string
123133
###
124134
PayloadUsernamePassword:
125135
description: "Payload with username and password information. \

0 commit comments

Comments
 (0)