Config
A configuration for the oauth authentication provider.
Properties
An HTTP client instance used to make requests to the OAuth server.
A description of the provider that can be used for API documentation.
Specifies a fallback function invoked when OAuth flow fails with an AuthenticationFailedCause.Error, e.g., a token exchange error, network/parse failure, etc. If call is not handled in the fallback, 401 Unauthorized will be responded.
A lookup function to find OAuth server settings for the particular call.
Static OAuth server settings. Either this or providerLookup should be specified.
Specifies a redirect route opened when authorization is completed.
Functions
Adds an authentication filter to the list. For every application call the specified predicate is applied and if it returns true then the authentication provider is skipped (no auth required for this call with this provider).