Class AuthChallengeRequest
java.lang.Object
com.inductiveautomation.perspective.gateway.api.AuthChallengeRequest
Immutable representation of an authentication challenge request
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classProvides a fluent-API (builder-style) pattern for creating newAuthChallengeRequestobjectsstatic classAJsonSerializerandJsonDeserializerimplementation for serializing and de-serializingAuthChallengeRequestobjects to / from JSON using GSON APIs. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthChallengeRequest.Builderbuilder(AuthChallengeRequest authChallengeRequest) static AuthChallengeRequest.BuildergetIdp()Optional<com.inductiveautomation.ignition.common.gson.JsonElement>toString()
-
Method Details
-
getClient
- Returns:
- the client identifier associated with this auth challenge request
-
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
-
getForceAuth
-
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.
-
getPayload
- Returns:
- an
Optionalcontaining an opaque payload represented as aJsonElement, or an empty Optional if no payload was set
-
getFramingOption
- Returns:
- an
Optionalcontaining theFramingOptionfor this authentication challenge request, or an empty Optional if this property was not specified.
-
toString
-
builder
- Returns:
- a new
AuthChallengeRequest.Builderinstance
-
builder
- Parameters:
authChallengeRequest- theAuthChallengeRequestwhose properties will be used to initialize the newAuthChallengeRequest.Builderinstance returned from this method- Returns:
- a new
AuthChallengeRequest.Builderinstance with the properties set from the providedAuthChallengeRequest
-