Skip to main content

SelectiveAuthenticator

Authenticator that selects concrete authenticator based on config property.

  • type: object
  • required: ["type","authenticators","authenticator_selection_path"]

type​

  • Required: Yes
  • type: string
  • enum: ["SelectiveAuthenticator"]

authenticator_selection_path​

Path of the field in config with selected authenticator name

  • Required: Yes
  • type: array

Examples:

- auth
- auth
- type
  • items:

    • type: string

authenticators​

Authenticators to select from.

  • Required: Yes
  • type: object

Examples:

authenticators:
token: '#/definitions/ApiKeyAuthenticator'
oauth: '#/definitions/OAuthAuthenticator'
jwt: '#/definitions/JwtAuthenticator'

$parameters​

  • Required: No
  • type: object