Package io.oxia.client.api
Interface Authentication
public interface Authentication
Represents an interface for implementing authentication mechanisms. The implementations of this
interface are expected to provide a way to generate credentials in the form of key-value pairs.
-
Method Summary
-
Method Details
-
configure
Plugins which use ":" and/or "," in a configuration parameter value need to implement this interface.- Parameters:
encodedAuthParamString- the encoded configuration parameter value
-
generateCredentials
Generates a set of credentials represented as key-value pairs.- Returns:
- a map containing the generated credentials, where the keys represent the credential type (e.g., username, password) and the values represent the corresponding credential values.
-