Package com.oracle.bmc.apigateway.model
Class TokenAuthenticationRemoteDiscoveryValidationPolicy
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.apigateway.model.TokenAuthenticationValidationPolicy
-
- com.oracle.bmc.apigateway.model.TokenAuthenticationRemoteDiscoveryValidationPolicy
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class TokenAuthenticationRemoteDiscoveryValidationPolicy extends TokenAuthenticationValidationPolicy
Instrospect Url based validation retrieved at run-time from a remote location to verify the provided token.
Note: Objects should always be created or deserialized using theTokenAuthenticationRemoteDiscoveryValidationPolicy.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 theTokenAuthenticationRemoteDiscoveryValidationPolicy.Builder
, which maintain a set of all explicitly set fields calledTokenAuthenticationRemoteDiscoveryValidationPolicy.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
TokenAuthenticationRemoteDiscoveryValidationPolicy.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.apigateway.model.TokenAuthenticationValidationPolicy
TokenAuthenticationValidationPolicy.Type
-
-
Constructor Summary
Constructors Constructor Description TokenAuthenticationRemoteDiscoveryValidationPolicy(AdditionalValidationPolicy additionalValidationPolicy, ClientAppDetails clientDetails, SourceUriDetails sourceUriDetails, Boolean isSslVerifyDisabled, Integer maxCacheDurationInHours)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenAuthenticationRemoteDiscoveryValidationPolicy.Builder
builder()
Create a new builder.boolean
equals(Object o)
ClientAppDetails
getClientDetails()
Boolean
getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.Integer
getMaxCacheDurationInHours()
The duration for which the introspect URL response should be cached before it is fetched again.SourceUriDetails
getSourceUriDetails()
int
hashCode()
TokenAuthenticationRemoteDiscoveryValidationPolicy.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.apigateway.model.TokenAuthenticationValidationPolicy
getAdditionalValidationPolicy
-
-
-
-
Constructor Detail
-
TokenAuthenticationRemoteDiscoveryValidationPolicy
@Deprecated public TokenAuthenticationRemoteDiscoveryValidationPolicy(AdditionalValidationPolicy additionalValidationPolicy, ClientAppDetails clientDetails, SourceUriDetails sourceUriDetails, Boolean isSslVerifyDisabled, Integer maxCacheDurationInHours)
Deprecated.
-
-
Method Detail
-
builder
public static TokenAuthenticationRemoteDiscoveryValidationPolicy.Builder builder()
Create a new builder.
-
toBuilder
public TokenAuthenticationRemoteDiscoveryValidationPolicy.Builder toBuilder()
-
getClientDetails
public ClientAppDetails getClientDetails()
-
getSourceUriDetails
public SourceUriDetails getSourceUriDetails()
-
getIsSslVerifyDisabled
public Boolean getIsSslVerifyDisabled()
Defines whether or not to uphold SSL verification.- Returns:
- the value
-
getMaxCacheDurationInHours
public Integer getMaxCacheDurationInHours()
The duration for which the introspect URL response should be cached before it is fetched again.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classTokenAuthenticationValidationPolicy
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classTokenAuthenticationValidationPolicy
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTokenAuthenticationValidationPolicy
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTokenAuthenticationValidationPolicy
-
-