Class AppThreeLeggedOAuthCredential
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.identitydomains.model.AppThreeLeggedOAuthCredential
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: v1") public final class AppThreeLeggedOAuthCredential extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe value of this attribute persists any OAuth access token that the system uses to connect to this ManagedApp.The system obtains this access token using an OAuth protocol flow that could be two-legged or three-legged. A two-legged flow involves only the requester and the server. A three-legged flow also requires the consent of a user – in this case the consent of an administrator. *SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: complex 
 Note: Objects should always be created or deserialized using theAppThreeLeggedOAuthCredential.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theAppThreeLeggedOAuthCredential.Builder, which maintain a set of all explicitly set fields calledAppThreeLeggedOAuthCredential.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAppThreeLeggedOAuthCredential.Builder
 - 
Constructor SummaryConstructors Constructor Description AppThreeLeggedOAuthCredential(String accessToken, String refreshToken, String accessTokenExpiry)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppThreeLeggedOAuthCredential.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetAccessToken()Access TokenStringgetAccessTokenExpiry()Access token expiryStringgetRefreshToken()Refresh TokeninthashCode()AppThreeLeggedOAuthCredential.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
AppThreeLeggedOAuthCredential@Deprecated @ConstructorProperties({"accessToken","refreshToken","accessTokenExpiry"}) public AppThreeLeggedOAuthCredential(String accessToken, String refreshToken, String accessTokenExpiry) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static AppThreeLeggedOAuthCredential.Builder builder() Create a new builder.
 - 
toBuilderpublic AppThreeLeggedOAuthCredential.Builder toBuilder() 
 - 
getAccessTokenpublic String getAccessToken() Access Token*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - idcsSensitive: encrypt - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getRefreshTokenpublic String getRefreshToken() Refresh Token*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - idcsSensitive: encrypt - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none - Returns:
- the value
 
 - 
getAccessTokenExpirypublic String getAccessTokenExpiry() Access token expiry*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: dateTime - uniqueness: none - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-