Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Oct 14, 2019
1 parent 2edf681 commit d3e185f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Determines whether the validator should coerce value types to match the type def

### securityHandlers (optional)

**Note:** Most use cases, **_do not_** need `securityHandlers`. They are most useful for OpenID and OAuth2 scenarios, but not required.
**Note:** Many use cases **_do not_** need `securityHandlers`. They are most useful for OpenID and OAuth2 scenarios as the securityHandler callback will provide defined scopes and sheme as a convenience.

Specifies a set of custom security handlers to be used to validate security. If a `securityHandlers` object is specified, a handler must be defined for **_all_** securities. If `securityHandlers are **_not_** specified, a default handler is always used. The default handler will validate against the OpenAPI spec, then call the next middleware.

Expand Down

0 comments on commit d3e185f

Please sign in to comment.