Class AuthChallengeRequest
- java.lang.Object
- 
- com.inductiveautomation.perspective.gateway.api.AuthChallengeRequest
 
- 
 public class AuthChallengeRequest extends java.lang.ObjectImmutable representation of an authentication challenge request
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAuthChallengeRequest.BuilderProvides a fluent-API (builder-style) pattern for creating newAuthChallengeRequestobjectsstatic classAuthChallengeRequest.GsonAdapterAJsonSerializerandJsonDeserializerimplementation for serializing and de-serializingAuthChallengeRequestobjects to / from JSON using GSON APIs.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthChallengeRequest.Builderbuilder(AuthChallengeRequest authChallengeRequest)static AuthChallengeRequest.Builderbuilder(java.lang.String client)java.lang.StringgetClient()java.util.Optional<java.lang.Boolean>getForceAuth()java.util.Optional<FramingOption>getFramingOption()java.util.Optional<java.lang.String>getIdp()java.util.Optional<com.inductiveautomation.ignition.common.gson.JsonElement>getPayload()java.util.Optional<java.lang.Integer>getTimeout()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getClientpublic java.lang.String getClient() - Returns:
- the client identifier associated with this auth challenge request
 
 - 
getIdppublic java.util.Optional<java.lang.String> getIdp() - Returns:
- an Optionalcontaining the name of the IdP which will handle this auth challenge request, or an empty Optional of no IdP is specified
 
 - 
getForceAuthpublic java.util.Optional<java.lang.Boolean> getForceAuth() - Returns:
- an Optionalcontaining aBooleanindicating whether or not the user will be asked to re-enter their credentials at the IdP, even if they are already logged in. Returns an empty Optional if this property is not specified.
 
 - 
getTimeoutpublic java.util.Optional<java.lang.Integer> getTimeout() - Returns:
- an Optionalcontaining the number of minutes the system will wait in between the authentication request and the authentication response before timing out the request. Returns an empty Optional if the timeout is not specified.
 
 - 
getPayloadpublic java.util.Optional<com.inductiveautomation.ignition.common.gson.JsonElement> getPayload() - Returns:
- an Optionalcontaining an opaque payload represented as aJsonElement, or an empty Optional if no payload was set
 
 - 
getFramingOptionpublic java.util.Optional<FramingOption> getFramingOption() - Returns:
- an Optionalcontaining theFramingOptionfor this authentication challenge request, or an empty Optional if this property was not specified.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
builderpublic static AuthChallengeRequest.Builder builder(java.lang.String client) - Returns:
- a new AuthChallengeRequest.Builderinstance
 
 - 
builderpublic static AuthChallengeRequest.Builder builder(AuthChallengeRequest authChallengeRequest) - Parameters:
- authChallengeRequest- the- AuthChallengeRequestwhose properties will be used to initialize the new- AuthChallengeRequest.Builderinstance returned from this method
- Returns:
- a new AuthChallengeRequest.Builderinstance with the properties set from the providedAuthChallengeRequest
 
 
- 
 
-