@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class OAuth2ResponseValidationFailurePolicy extends ValidationFailurePolicy
Policy to specify OAuth2 flow configuration.
Note: Objects should always be created or deserialized using the OAuth2ResponseValidationFailurePolicy.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 OAuth2ResponseValidationFailurePolicy.Builder
, which maintain a
set of all explicitly set fields called OAuth2ResponseValidationFailurePolicy.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
).
Modifier and Type | Class and Description |
---|---|
static class |
OAuth2ResponseValidationFailurePolicy.Builder |
static class |
OAuth2ResponseValidationFailurePolicy.ResponseType
Response Type.
|
ValidationFailurePolicy.Type
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OAuth2ResponseValidationFailurePolicy(ClientAppDetails clientDetails,
SourceUriDetails sourceUriDetails,
List<String> scopes,
Integer maxExpiryDurationInHours,
Boolean useCookiesForSession,
Boolean useCookiesForIntermediateSteps,
Boolean usePkce,
OAuth2ResponseValidationFailurePolicy.ResponseType responseType,
String fallbackRedirectPath,
String logoutPath)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OAuth2ResponseValidationFailurePolicy.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ClientAppDetails |
getClientDetails() |
String |
getFallbackRedirectPath()
The path to be used as fallback after OAuth2.
|
String |
getLogoutPath()
The path to be used as logout.
|
Integer |
getMaxExpiryDurationInHours()
The duration for which the OAuth2 success token should be cached before it is fetched again.
|
OAuth2ResponseValidationFailurePolicy.ResponseType |
getResponseType()
Response Type.
|
List<String> |
getScopes()
List of scopes.
|
SourceUriDetails |
getSourceUriDetails() |
Boolean |
getUseCookiesForIntermediateSteps()
Defines whether or not to use cookies for OAuth2 intermediate steps.
|
Boolean |
getUseCookiesForSession()
Defines whether or not to use cookies for session maintenance.
|
Boolean |
getUsePkce()
Defines whether or not to support PKCE.
|
int |
hashCode() |
OAuth2ResponseValidationFailurePolicy.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public OAuth2ResponseValidationFailurePolicy(ClientAppDetails clientDetails, SourceUriDetails sourceUriDetails, List<String> scopes, Integer maxExpiryDurationInHours, Boolean useCookiesForSession, Boolean useCookiesForIntermediateSteps, Boolean usePkce, OAuth2ResponseValidationFailurePolicy.ResponseType responseType, String fallbackRedirectPath, String logoutPath)
public static OAuth2ResponseValidationFailurePolicy.Builder builder()
Create a new builder.
public OAuth2ResponseValidationFailurePolicy.Builder toBuilder()
public ClientAppDetails getClientDetails()
public SourceUriDetails getSourceUriDetails()
public Integer getMaxExpiryDurationInHours()
The duration for which the OAuth2 success token should be cached before it is fetched again.
public Boolean getUseCookiesForSession()
Defines whether or not to use cookies for session maintenance.
public Boolean getUseCookiesForIntermediateSteps()
Defines whether or not to use cookies for OAuth2 intermediate steps.
public Boolean getUsePkce()
Defines whether or not to support PKCE.
public OAuth2ResponseValidationFailurePolicy.ResponseType getResponseType()
Response Type.
public String getFallbackRedirectPath()
The path to be used as fallback after OAuth2.
public String getLogoutPath()
The path to be used as logout.
public String toString()
toString
in class ValidationFailurePolicy
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ValidationFailurePolicy
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ValidationFailurePolicy
public int hashCode()
hashCode
in class ValidationFailurePolicy
Copyright © 2016–2024. All rights reserved.