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.ExplicitlySetBmcModel
The 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 Summary
Nested Classes Modifier and Type Class Description static class
AppThreeLeggedOAuthCredential.Builder
-
Constructor Summary
Constructors Constructor Description AppThreeLeggedOAuthCredential(String accessToken, String refreshToken, String accessTokenExpiry)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppThreeLeggedOAuthCredential.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getAccessToken()
Access TokenString
getAccessTokenExpiry()
Access token expiryString
getRefreshToken()
Refresh Tokenint
hashCode()
AppThreeLeggedOAuthCredential.Builder
toBuilder()
String
toString()
String
toString(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
-
builder
public static AppThreeLeggedOAuthCredential.Builder builder()
Create a new builder.
-
toBuilder
public AppThreeLeggedOAuthCredential.Builder toBuilder()
-
getAccessToken
public 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
-
getRefreshToken
public 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
-
getAccessTokenExpiry
public 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
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-