Asynchronously retrieves the authentication headers. This might involve checking a cached token, refreshing it if expired, and then returning it.
A promise that resolves to a record of header keys and values.
OptionalhandleOptional: Handles the redirect from the authentication server.
OptionalisOptional: Checks if the user is authenticated.
OptionalloginOptional: Initiates the login flow for the strategy.
OptionallogoutOptional: Logs the user out.
Interface for an authentication strategy that can provide authorization headers. This enables pluggable security for remote service connections (MCP servers, A2A agents, etc.)