Documentation
¶
Overview ¶
Package oauth provides OAUTHBEARER sasl authentication as specified in RFC7628.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶
type Auth struct {
// Zid is an optional authorization ID to use in authenticating.
Zid string
// Token is the oauthbearer token to use for a single session's
// authentication.
Token string
// Extensions are key value pairs to add to the authentication request.
Extensions map[string]string
// contains filtered or unexported fields
}
Auth contains information for authentication.
This client reserves the right to add fields to this struct in the future if Kafka adds more capabilities to Oauth.
Click to show internal directories.
Click to hide internal directories.