@@ -6,44 +6,37 @@ description: |
66 metadata in the request context for downstream policies to use.
77
88parameters :
9- - name : username
10- type : string
11- required : true
12- description : |
13- Expected username for authentication.
14- Compared against the username in the Basic auth header.
15- validation :
9+ type : object
10+ properties :
11+ username :
12+ type : string
13+ description : Expected username for authentication. Compared against the username
14+ in the Basic auth header.
1615 minLength : 1
1716 maxLength : 256
18-
19- - name : password
20- type : string
21- required : true
22- description : |
23- Expected password for authentication.
24- Compared against the password in the Basic auth header.
25- validation :
17+ password :
18+ type : string
19+ description : Expected password for authentication. Compared against the password
20+ in the Basic auth header.
2621 minLength : 1
2722 maxLength : 256
28-
29- - name : allowUnauthenticated
30- type : boolean
31- required : false
32- default : false
33- description : |
34- If true, allows unauthenticated requests to proceed to upstream.
35- Authentication status is still recorded in metadata (auth.success = false).
36- If false (default), returns 401 Unauthorized for failed authentication.
37-
38- - name : realm
39- type : string
40- required : false
41- default : " Restricted"
42- description : |
43- Authentication realm shown in the WWW-Authenticate header.
44- Displayed to users in browser authentication prompts.
45- validation :
23+ allowUnauthenticated :
24+ type : boolean
25+ description : If true, allows unauthenticated requests to proceed to upstream.
26+ Authentication status is still recorded in metadata (auth.success = false).
27+ If false (default), returns 401 Unauthorized for failed authentication.
28+ default : false
29+ realm :
30+ type : string
31+ description : Authentication realm shown in the WWW-Authenticate header. Displayed
32+ to users in browser authentication prompts.
4633 minLength : 1
4734 maxLength : 256
35+ default : Restricted
36+ required :
37+ - username
38+ - password
4839
49- initParameters : []
40+ initParameters :
41+ type : object
42+ properties : {}
0 commit comments