Package com.okta.sdk.resource.model
Class OktaSignOnPolicyRuleSignonSessionActions
java.lang.Object
com.okta.sdk.resource.model.OktaSignOnPolicyRuleSignonSessionActions
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class OktaSignOnPolicyRuleSignonSessionActions
extends Object
implements Serializable
Properties governing the User's session lifetime
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Maximum number of minutes that a User session can be idle before the session is endedMaximum number of minutes from User sign in that a user's session is active.If set to `false`, user session cookies only last the length of a browser session.int
hashCode()
maxSessionIdleMinutes
(Integer maxSessionIdleMinutes) maxSessionLifetimeMinutes
(Integer maxSessionLifetimeMinutes) void
setMaxSessionIdleMinutes
(Integer maxSessionIdleMinutes) void
setMaxSessionLifetimeMinutes
(Integer maxSessionLifetimeMinutes) void
setUsePersistentCookie
(Boolean usePersistentCookie) toString()
usePersistentCookie
(Boolean usePersistentCookie)
-
Field Details
-
JSON_PROPERTY_MAX_SESSION_IDLE_MINUTES
- See Also:
-
JSON_PROPERTY_MAX_SESSION_LIFETIME_MINUTES
- See Also:
-
JSON_PROPERTY_USE_PERSISTENT_COOKIE
- See Also:
-
-
Constructor Details
-
OktaSignOnPolicyRuleSignonSessionActions
public OktaSignOnPolicyRuleSignonSessionActions()
-
-
Method Details
-
maxSessionIdleMinutes
public OktaSignOnPolicyRuleSignonSessionActions maxSessionIdleMinutes(Integer maxSessionIdleMinutes) -
getMaxSessionIdleMinutes
Maximum number of minutes that a User session can be idle before the session is ended- Returns:
- maxSessionIdleMinutes
-
setMaxSessionIdleMinutes
-
maxSessionLifetimeMinutes
public OktaSignOnPolicyRuleSignonSessionActions maxSessionLifetimeMinutes(Integer maxSessionLifetimeMinutes) -
getMaxSessionLifetimeMinutes
Maximum number of minutes from User sign in that a user's session is active. Set this to force Users to sign in again after the number of specified minutes. Disable by setting to `0`. This property is read-only for the default rule of the default global session policy.- Returns:
- maxSessionLifetimeMinutes
-
setMaxSessionLifetimeMinutes
-
usePersistentCookie
-
getUsePersistentCookie
If set to `false`, user session cookies only last the length of a browser session. If set to `true`, user session cookies last across browser sessions. This setting doesn't impact administrators who can never have persistent session cookies. This property is read-only for the default rule of the default global session policy.- Returns:
- usePersistentCookie
-
setUsePersistentCookie
-
equals
-
hashCode
public int hashCode() -
toString
-