public class KafkaClientAuthenticationOAuth extends KafkaClientAuthentication
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_OAUTH |
| Constructor and Description |
|---|
KafkaClientAuthenticationOAuth() |
| Modifier and Type | Method and Description |
|---|---|
GenericSecretSource |
getAccessToken() |
String |
getClientId() |
GenericSecretSource |
getClientSecret() |
int |
getMaxTokenExpirySeconds() |
GenericSecretSource |
getRefreshToken() |
List<CertSecretSource> |
getTlsTrustedCertificates() |
String |
getTokenEndpointUri() |
String |
getType() |
boolean |
isAccessTokenIsJwt() |
boolean |
isDisableTlsHostnameVerification() |
void |
setAccessToken(GenericSecretSource accessToken) |
void |
setAccessTokenIsJwt(boolean accessTokenIsJwt) |
void |
setClientId(String clientId) |
void |
setClientSecret(GenericSecretSource clientSecret) |
void |
setDisableTlsHostnameVerification(boolean disableTlsHostnameVerification) |
void |
setMaxTokenExpirySeconds(int maxTokenExpirySeconds) |
void |
setRefreshToken(GenericSecretSource refreshToken) |
void |
setTlsTrustedCertificates(List<CertSecretSource> tlsTrustedCertificates) |
void |
setTokenEndpointUri(String tokenEndpointUri) |
getAdditionalProperties, setAdditionalPropertypublic static final String TYPE_OAUTH
public String getType()
getType in class KafkaClientAuthenticationpublic String getClientId()
public void setClientId(String clientId)
public String getTokenEndpointUri()
public void setTokenEndpointUri(String tokenEndpointUri)
public GenericSecretSource getClientSecret()
public void setClientSecret(GenericSecretSource clientSecret)
public GenericSecretSource getAccessToken()
public void setAccessToken(GenericSecretSource accessToken)
public GenericSecretSource getRefreshToken()
public void setRefreshToken(GenericSecretSource refreshToken)
public List<CertSecretSource> getTlsTrustedCertificates()
public void setTlsTrustedCertificates(List<CertSecretSource> tlsTrustedCertificates)
public boolean isDisableTlsHostnameVerification()
public void setDisableTlsHostnameVerification(boolean disableTlsHostnameVerification)
public int getMaxTokenExpirySeconds()
public void setMaxTokenExpirySeconds(int maxTokenExpirySeconds)
public boolean isAccessTokenIsJwt()
public void setAccessTokenIsJwt(boolean accessTokenIsJwt)
Copyright © 2020. All rights reserved.