Class 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 the AppThreeLeggedOAuthCredential.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 the AppThreeLeggedOAuthCredential.Builder, which maintain a set of all explicitly set fields called AppThreeLeggedOAuthCredential.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel