Interface WebAuthStrategyContext
- 
 public interface WebAuthStrategyContextContext in which aWebAuthStrategyruns
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IdpAdapterConfiggetConfig()GatewayContextgetGatewayContext()default java.lang.StringgetName()java.util.function.LongSuppliergetTicker()A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time.default com.inductiveautomation.ignition.common.gson.JsonElementgetTypedConfig()default WebAuthStrategyConfiggetWebAuthStrategyConfig()
 
- 
- 
- 
Method Detail- 
getConfigIdpAdapterConfig getConfig() 
 - 
getNamedefault java.lang.String getName() - Returns:
- the name of the IdP associated with the web auth strategy
 
 - 
getWebAuthStrategyConfigdefault WebAuthStrategyConfig getWebAuthStrategyConfig() 
 - 
getTypedConfigdefault com.inductiveautomation.ignition.common.gson.JsonElement getTypedConfig() - Returns:
- the json config from WebAuthStrategyConfig.getBackupConfig()if not empty and the current Gateway's redundancy role is a backup, else returnsAbstractTypedConfig.getConfig()
 
 - 
getGatewayContextGatewayContext getGatewayContext() - Returns:
- the GatewayContextwhere the IdP associated with the web auth strategy runs
 
 - 
getTickerjava.util.function.LongSupplier getTicker() A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time. Usually equivalent toSystem.nanoTime(), though it could be set to something else for unit testing purposes.Warning: this interface can only be used to measure elapsed time, not wall time. 
 
- 
 
-