Ricardo
08/27/2019, 4:01 PMdave
08/27/2019, 4:02 PMRicardo
08/27/2019, 4:06 PMdave
08/27/2019, 4:10 PMAfter you have defined the security schemes in the securitySchemes section, you can apply them to the whole API or individual operations by adding the security section on the root level or operation level, respectively. When used on the root level, security applies the specified security schemes globally to all API operations, unless overridden on the operation level. In the following example, the API calls can be authenticated using either an API key or OAuth 2. The ApiKeyAuth and OAuth2 names refer to the schemes previously defined in securitySchemes.
Ricardo
08/27/2019, 4:15 PMOR
them together easily.http4k-contract
already incorrectly composes security definition filters and considered it a separate issue.NoOp
filters locally.dave
08/27/2019, 7:39 PMRicardo
08/28/2019, 8:24 AMOrSecurity
and AndSecurity
construct, very readable.NoOp
for our filtering in http4k and rely on Google Cloud Endpoints for auth, but if we switched we would want to OR
security filters together.dave
08/28/2019, 8:55 AMmultiple-securities
going so you can track progress.Ricardo
08/28/2019, 8:57 AMhttp4k
.dave
08/28/2019, 9:05 AMRicardo
08/28/2019, 9:16 AMdave
08/28/2019, 9:48 AMRicardo
08/28/2019, 1:06 PMhttp4k-contract
to support some of the other Google Cloud Endpoints.dave
08/28/2019, 1:08 PM