opaqueToken

Builds an AuthenticationStrategy.Sync for opaque bearer-token authentication.

Assign the result to http.authentication. Only OpaqueTokenConfig.lookup is required. The identity type flowing through the extension is entirely yours — the extension attaches whichever identity your OpaqueTokenLookup returns. To use OpaqueTokenAuthenticator directly, call OpaqueTokenAuthenticator.builder and wrap it in a custom AuthenticationStrategy.Sync (or AuthenticationStrategy.sync).