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 class
Provides a fluent-API (builder-style) pattern for creating newAuthChallengeRequest
objectsstatic class
AJsonSerializer
andJsonDeserializer
implementation for serializing and de-serializingAuthChallengeRequest
objects to / from JSON using GSON APIs. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthChallengeRequest.Builder
builder
(AuthChallengeRequest authChallengeRequest) static AuthChallengeRequest.Builder
getIdp()
Optional<com.inductiveautomation.ignition.common.gson.JsonElement>
toString()
-
Method Details
-
getClient
- Returns:
- the client identifier associated with this auth challenge request
-
getIdp
- Returns:
- an
Optional
containing 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
Optional
containing 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
Optional
containing an opaque payload represented as aJsonElement
, or an empty Optional if no payload was set
-
getFramingOption
- Returns:
- an
Optional
containing theFramingOption
for this authentication challenge request, or an empty Optional if this property was not specified.
-
toString
-
builder
- Returns:
- a new
AuthChallengeRequest.Builder
instance
-
builder
- Parameters:
authChallengeRequest
- theAuthChallengeRequest
whose properties will be used to initialize the newAuthChallengeRequest.Builder
instance returned from this method- Returns:
- a new
AuthChallengeRequest.Builder
instance with the properties set from the providedAuthChallengeRequest
-