Class AuthChallengeRequest.Builder
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.api.AuthChallengeRequest.Builder
 
- 
- Enclosing class:
- AuthChallengeRequest
 
 public static class AuthChallengeRequest.Builder extends java.lang.ObjectProvides a fluent-API (builder-style) pattern for creating newAuthChallengeRequestobjects
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthChallengeRequestbuild()AuthChallengeRequest.BuildersetForceAuth(java.lang.Boolean forceAuth)AuthChallengeRequest.BuildersetFramingOption(FramingOption framingOption)AuthChallengeRequest.BuildersetIdp(java.lang.String idp)AuthChallengeRequest.BuildersetPayload(com.inductiveautomation.ignition.common.gson.JsonElement payload)AuthChallengeRequest.BuildersetTimeout(java.lang.Integer timeout)
 
- 
- 
- 
Method Detail- 
setIdppublic AuthChallengeRequest.Builder setIdp(@Nullable java.lang.String idp) - Parameters:
- idp- the name of the IdP which should handle the authentication challenge request. set to null to use the project default IdP. defaults to null if not set.
- Returns:
- this AuthChallengeRequest.Builder
 
 - 
setForceAuthpublic AuthChallengeRequest.Builder setForceAuth(@Nullable java.lang.Boolean forceAuth) - Parameters:
- forceAuth- whether the user should be required to re-enter their credentials at the IdP, even if they are already logged in. set to null to use the project default setting. defaults to null if not set.
- Returns:
- this AuthChallengeRequest.Builder
 
 - 
setTimeoutpublic AuthChallengeRequest.Builder setTimeout(@Nullable java.lang.Integer timeout) - Parameters:
- timeout- the number of minutes the system will wait in between the authentication request and the authentication response before timing out the request. set to null to use the default value of two minutes. defaults to null if not set.
- Returns:
- this AuthChallengeRequest.Builder
 
 - 
setPayloadpublic AuthChallengeRequest.Builder setPayload(@Nullable com.inductiveautomation.ignition.common.gson.JsonElement payload) - Parameters:
- payload- the opaque payload represented as a- JsonElement. may be set to null if no payload is necessary. defaults to null if not set.
- Returns:
- this AuthChallengeRequest.Builder
 
 - 
setFramingOptionpublic AuthChallengeRequest.Builder setFramingOption(@Nullable FramingOption framingOption) - Parameters:
- framingOption- the- FramingOptionwhich should be used to present the authentication UI. set to null to use the default of- FramingOption.SELF. defaults to null if not set.
- Returns:
- this AuthChallengeRequest.Builder
 
 - 
buildpublic AuthChallengeRequest build() - Returns:
- a new AuthChallengeRequestinstance with the field values set using this builder's setter methods
 
 
- 
 
-