Class OauthMetadata
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.keymanagement.model.OauthMetadata
-
@Generated(value="OracleSDKGenerator", comments="API Version: release") public final class OauthMetadata extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Authorization details required to get access token from IDP for accessing protected resources.
Note: Objects should always be created or deserialized using theOauthMetadata.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 theOauthMetadata.Builder
, which maintain a set of all explicitly set fields calledOauthMetadata.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
OauthMetadata.Builder
-
Constructor Summary
Constructors Constructor Description OauthMetadata(String idcsAccountNameUrl, String clientAppId, String clientAppSecret)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OauthMetadata.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getClientAppId()
ID of the client app created in IDP.String
getClientAppSecret()
Secret of the client app created in IDP.String
getIdcsAccountNameUrl()
Base URL of the IDCS account where confidential client app is created.int
hashCode()
OauthMetadata.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
OauthMetadata
@Deprecated @ConstructorProperties({"idcsAccountNameUrl","clientAppId","clientAppSecret"}) public OauthMetadata(String idcsAccountNameUrl, String clientAppId, String clientAppSecret)
Deprecated.
-
-
Method Detail
-
builder
public static OauthMetadata.Builder builder()
Create a new builder.
-
toBuilder
public OauthMetadata.Builder toBuilder()
-
getIdcsAccountNameUrl
public String getIdcsAccountNameUrl()
Base URL of the IDCS account where confidential client app is created.- Returns:
- the value
-
getClientAppId
public String getClientAppId()
ID of the client app created in IDP.- Returns:
- the value
-
getClientAppSecret
public String getClientAppSecret()
Secret of the client app created in IDP.- 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
-
-