karenetheridge / OpenAPI-Modern

Validate HTTP requests and responses against an OpenAPI v3.1 document
https://metacpan.org/release/OpenAPI-Modern/
Other
6 stars 3 forks source link

authorization #28

Open karenetheridge opened 2 years ago

karenetheridge commented 2 years ago

given a request object (and operationId or path_template), determine authentication for the request.

karenetheridge commented 2 years ago

Note that a security name must be mentioned both in /components/securitySchemes/<security name> and in /security/<int>/<security name> to be effective... OR (?) in the operation itself for a local effect.

karenetheridge commented 2 years ago

http-basic and api key are quite straightforward - just compare values in headers.