Struct rdkafka::client::OAuthToken
source · Expand description
A generated OAuth token and its associated metadata.
When using the OAUTHBEARER
SASL authentication method, this type is
returned from ClientContext::generate_oauth_token
. The token and
principal name must not contain embedded null characters.
Specifying SASL extensions is not currently supported.
Fields§
§token: String
The token value to set.
principal_name: String
The Kafka principal name associated with the token.
lifetime_ms: i64
When the token expires, in number of milliseconds since the Unix epoch.