public static class OAuth2ResponseValidationFailurePolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
public OAuth2ResponseValidationFailurePolicy.Builder clientDetails(ClientAppDetails clientDetails)
public OAuth2ResponseValidationFailurePolicy.Builder sourceUriDetails(SourceUriDetails sourceUriDetails)
public OAuth2ResponseValidationFailurePolicy.Builder scopes(List<String> scopes)
List of scopes.
scopes
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder maxExpiryDurationInHours(Integer maxExpiryDurationInHours)
The duration for which the OAuth2 success token should be cached before it is fetched again.
maxExpiryDurationInHours
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder useCookiesForSession(Boolean useCookiesForSession)
Defines whether or not to use cookies for session maintenance.
useCookiesForSession
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder useCookiesForIntermediateSteps(Boolean useCookiesForIntermediateSteps)
Defines whether or not to use cookies for OAuth2 intermediate steps.
useCookiesForIntermediateSteps
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder usePkce(Boolean usePkce)
Defines whether or not to support PKCE.
usePkce
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder responseType(OAuth2ResponseValidationFailurePolicy.ResponseType responseType)
Response Type.
responseType
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder fallbackRedirectPath(String fallbackRedirectPath)
The path to be used as fallback after OAuth2.
fallbackRedirectPath
- the value to setpublic OAuth2ResponseValidationFailurePolicy.Builder logoutPath(String logoutPath)
The path to be used as logout.
logoutPath
- the value to setpublic OAuth2ResponseValidationFailurePolicy build()
public OAuth2ResponseValidationFailurePolicy.Builder copy(OAuth2ResponseValidationFailurePolicy model)
Copyright © 2016–2024. All rights reserved.