public static class ClientCredentialsAuthModel.Builder extends Object
| Constructor and Description |
|---|
Builder(String oAuthClientId,
String oAuthClientSecret)
The constructor with required auth credentials.
|
| Modifier and Type | Method and Description |
|---|---|
ClientCredentialsAuthModel |
build()
Builds the instance of ClientCredentialsAuthModel using the provided credentials.
|
ClientCredentialsAuthModel.Builder |
oAuthClientId(String oAuthClientId)
Setter for oAuthClientId.
|
ClientCredentialsAuthModel.Builder |
oAuthClientSecret(String oAuthClientSecret)
Setter for oAuthClientSecret.
|
ClientCredentialsAuthModel.Builder |
oAuthClockSkew(long oAuthClockSkew)
Setter for oAuthClockSkew.
|
ClientCredentialsAuthModel.Builder |
oAuthOnTokenUpdate(Consumer<OAuthToken> oAuthOnTokenUpdate)
Setter for oAuthOnTokenUpdate.
|
ClientCredentialsAuthModel.Builder |
oAuthToken(OAuthToken oAuthToken)
Setter for oAuthToken.
|
ClientCredentialsAuthModel.Builder |
oAuthTokenProvider(BiFunction<OAuthToken,ClientCredentialsAuth,OAuthToken> oAuthTokenProvider)
Setter for oAuthTokenProvider.
|
public ClientCredentialsAuthModel.Builder oAuthClientId(String oAuthClientId)
oAuthClientId - The value of OAuthClientId.public ClientCredentialsAuthModel.Builder oAuthClientSecret(String oAuthClientSecret)
oAuthClientSecret - The value of OAuthClientSecret.public ClientCredentialsAuthModel.Builder oAuthToken(OAuthToken oAuthToken)
oAuthToken - The value of OAuthToken.public ClientCredentialsAuthModel.Builder oAuthTokenProvider(BiFunction<OAuthToken,ClientCredentialsAuth,OAuthToken> oAuthTokenProvider)
oAuthTokenProvider - The value of oAuthTokenProvider.public ClientCredentialsAuthModel.Builder oAuthOnTokenUpdate(Consumer<OAuthToken> oAuthOnTokenUpdate)
oAuthOnTokenUpdate - The value of oAuthOnTokenUpdate.public ClientCredentialsAuthModel.Builder oAuthClockSkew(long oAuthClockSkew)
oAuthClockSkew - The value of oAuthClockSkew.public ClientCredentialsAuthModel build()
Copyright © 2025. All rights reserved.