public class OauthCredentialProvider extends Object implements BearerAuthCredentialProvider
OAuthCredentialProvider is a BearerAuthCredentialProvider
implementation used for configuring OAuth in schema registry. This can be used when we want to
set up OAuth Independently to that of kafka.| Constructor and Description |
|---|
OauthCredentialProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
alias() |
void |
configure(Map<String,?> map) |
String |
getBearerToken(URL url) |
String |
getTargetIdentityPoolId() |
String |
getTargetSchemaRegistry() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic String alias()
alias in interface BearerAuthCredentialProviderpublic String getBearerToken(URL url)
getBearerToken in interface BearerAuthCredentialProviderpublic String getTargetSchemaRegistry()
getTargetSchemaRegistry in interface BearerAuthCredentialProviderpublic String getTargetIdentityPoolId()
getTargetIdentityPoolId in interface BearerAuthCredentialProviderCopyright © 2025 Confluent, Inc.. All rights reserved.