Class WebAuthState.Builder
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.auth.web.state.WebAuthState.Builder
 
- 
- Enclosing class:
- WebAuthState
 
 public static class WebAuthState.Builder extends java.lang.ObjectBuilder forWebAuthStateinstances
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WebAuthStatebuild()Build theWebAuthStatejava.lang.StringgetApp()longgetExp()java.lang.StringgetState()booleanisSessionless()WebAuthState.Builderput(java.lang.String key, java.lang.Object value)Add a state param
 
- 
- 
- 
Method Detail- 
getApppublic java.lang.String 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@Nonnull public java.lang.String 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
 
 - 
put@Nonnull public WebAuthState.Builder put(@Nonnull java.lang.String key, @Nonnull java.lang.Object value) Add a state param- Parameters:
- key- the state param key
- value- the state param value
- Returns:
- this builder
 
 - 
build@Nonnull public WebAuthState build() Build theWebAuthState- Returns:
- the new WebAuthState
- Throws:
- java.lang.IllegalArgumentException- if the state or exp are null
 
 
- 
 
-