Class WebAuthState.Builder
java.lang.Object
com.inductiveautomation.ignition.gateway.auth.web.state.WebAuthState.Builder
- Enclosing class:
- WebAuthState
Builder for 
WebAuthState instances- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build theWebAuthStategetApp()longgetExp()getState()booleanAdd a state param
- 
Method Details- 
getApp- Returns:
- the name of the app the user is logging into / logging out of
 
- 
isSessionlesspublic boolean isSessionless()- Returns:
- whether the IdP should use sessionless mode
 
- 
getState- Returns:
- the randomly generated state value
 
- 
getExppublic long getExp()- Returns:
- when the WebAuthStatebuilt by thisWebAuthState.Builderwill expire. represented as the number of seconds from the Java epoch of 1970-01-01T00:00:00Z
 
- 
putAdd a state param- Parameters:
- key- the state param key
- value- the state param value
- Returns:
- this builder
 
- 
buildBuild theWebAuthState- Returns:
- the new WebAuthState
- Throws:
- IllegalArgumentException- if the state or exp are null
 
 
-