Module org.elasticsearch.xcore
Interface CustomApiKeyAuthenticator
- All Known Implementing Classes:
CustomApiKeyAuthenticator.Noop
public interface CustomApiKeyAuthenticator
An extension point to provide a custom API key authenticator implementation.
The implementation is wrapped by a core `Authenticator` class and included in the authenticator chain _before_ the
default API key authenticator.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA no-op implementation ofCustomApiKeyAuthenticatorthat is effectively skipped in the authenticator chain. -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(AuthenticationToken authenticationToken, ActionListener<AuthenticationResult<Authentication>> listener) extractCredentials(SecureString apiKeyCredentials) name()
-
Method Details
-
name
String name() -
extractCredentials
-
authenticate
void authenticate(@Nullable AuthenticationToken authenticationToken, ActionListener<AuthenticationResult<Authentication>> listener)
-