@Generated(value="software.amazon.awssdk:codegen") public final class OAuthCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OAuthCredentials.Builder,OAuthCredentials>
The OAuth credentials required for OAuth type authentication.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OAuthCredentials.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The access token used to access protected SAPOData resources.
|
static OAuthCredentials.Builder |
builder() |
String |
clientId()
The identifier for the desired client.
|
String |
clientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ConnectorOAuthRequest |
oAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
|
String |
refreshToken()
The refresh token used to refresh expired access token.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OAuthCredentials.Builder> |
serializableBuilderClass() |
OAuthCredentials.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientId()
The identifier for the desired client.
public final String clientSecret()
The client secret used by the OAuth client to authenticate to the authorization server.
public final String accessToken()
The access token used to access protected SAPOData resources.
public final String refreshToken()
The refresh token used to refresh expired access token.
public final ConnectorOAuthRequest oAuthRequest()
The OAuth requirement needed to request security tokens from the connector endpoint.
public OAuthCredentials.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OAuthCredentials.Builder,OAuthCredentials>public static OAuthCredentials.Builder builder()
public static Class<? extends OAuthCredentials.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.