Package net.webpdf.wsclient.openapi
Class ApplicationConfigPortalAuthTimeout
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ApplicationConfigPortalAuthTimeout
-
public class ApplicationConfigPortalAuthTimeout extends Object
Defines the timeout settings related to authentication and session.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUTO_REFRESHstatic StringJSON_PROPERTY_INACTIVITY
-
Constructor Summary
Constructors Constructor Description ApplicationConfigPortalAuthTimeout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConfigPortalAuthTimeoutautoRefresh(Integer autoRefresh)booleanequals(Object o)@Nullable IntegergetAutoRefresh()Defines the time in seconds before the access token expires at which an auto-refresh is performed.@Nullable IntegergetInactivity()Defines the time in seconds after which a user should be considered inactive if no activity is detected in the portal.inthashCode()ApplicationConfigPortalAuthTimeoutinactivity(Integer inactivity)voidsetAutoRefresh(Integer autoRefresh)voidsetInactivity(Integer inactivity)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_AUTO_REFRESH
public static final String JSON_PROPERTY_AUTO_REFRESH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INACTIVITY
public static final String JSON_PROPERTY_INACTIVITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
autoRefresh
public ApplicationConfigPortalAuthTimeout autoRefresh(Integer autoRefresh)
-
getAutoRefresh
@Nullable public @Nullable Integer getAutoRefresh()
Defines the time in seconds before the access token expires at which an auto-refresh is performed. The auto-refresh prevents the session from expiring and the access token from becoming unusable. If the user is considered inactive, then a dialog is displayed before the auto-refresh is executed. If the value is '0', then the auto-refresh is disabled, i.e. the session ends when the access token expires. minimum: 0- Returns:
- autoRefresh
-
setAutoRefresh
public void setAutoRefresh(Integer autoRefresh)
-
inactivity
public ApplicationConfigPortalAuthTimeout inactivity(Integer inactivity)
-
getInactivity
@Nullable public @Nullable Integer getInactivity()
Defines the time in seconds after which a user should be considered inactive if no activity is detected in the portal. If the value is '0', then the detection is disabled, i.e. the user is never inactive. minimum: 0- Returns:
- inactivity
-
setInactivity
public void setInactivity(Integer inactivity)
-
-