mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
40 lines
871 B
Plaintext
40 lines
871 B
Plaintext
|
<Location "/v2/store/order/*">
|
||
|
AuthBasicProvider file
|
||
|
AuthUserFile "/var/www/html/htpwd"
|
||
|
AuthGroupFile "/var/www/html/groups"
|
||
|
AuthType basic
|
||
|
AuthName "api"
|
||
|
<LimitExcept GET POST PUT DELETE>
|
||
|
Require valid-user
|
||
|
</LimitExcept>
|
||
|
<Limit DELETE>
|
||
|
Require valid-user
|
||
|
</Limit>
|
||
|
<Limit GET>
|
||
|
Require valid-user
|
||
|
</Limit>
|
||
|
</Location>
|
||
|
<Location "/v2/store/inventory">
|
||
|
AuthBasicProvider file
|
||
|
AuthUserFile "/var/www/html/htpwd"
|
||
|
AuthGroupFile "/var/www/html/groups"
|
||
|
AuthType basic
|
||
|
AuthName "api"
|
||
|
<LimitExcept GET POST PUT DELETE>
|
||
|
Require valid-user
|
||
|
</LimitExcept>
|
||
|
</Location>
|
||
|
<Location "/v2/store/order">
|
||
|
AuthBasicProvider file
|
||
|
AuthUserFile "/var/www/html/htpwd"
|
||
|
AuthGroupFile "/var/www/html/groups"
|
||
|
AuthType basic
|
||
|
AuthName "api"
|
||
|
<LimitExcept GET POST PUT DELETE>
|
||
|
Require valid-user
|
||
|
</LimitExcept>
|
||
|
<Limit POST>
|
||
|
Require valid-user
|
||
|
</Limit>
|
||
|
</Location>
|