Configuration
Configuration for API Key authentication.
Parameters
name
optional name for this authentication provider.
description
optional description for this authentication provider.
Properties
Link copied to clipboard
Name of the scheme used when challenge fails, see AuthenticationContext.challenge.
Link copied to clipboard
Link copied to clipboard
Name of the header that will be used as a source for the api key.
Functions
Link copied to clipboard
A response to send back if authentication failed.
Link copied to clipboard
Link copied to clipboard
Sets a validation function that will check the given API key retrieved from the headerName header and return an arbitrary principal object (for example, a user or service identity) if authentication succeeds, or null if authentication fails.