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 Details

    • JSON_PROPERTY_MAX_SESSION_IDLE_MINUTES

      public static final String JSON_PROPERTY_MAX_SESSION_IDLE_MINUTES
      See Also:
    • JSON_PROPERTY_MAX_SESSION_LIFETIME_MINUTES

      public static final String JSON_PROPERTY_MAX_SESSION_LIFETIME_MINUTES
      See Also:
  • Constructor Details

    • OktaSignOnPolicyRuleSignonSessionActions

      public OktaSignOnPolicyRuleSignonSessionActions()
  • Method Details

    • maxSessionIdleMinutes

      public OktaSignOnPolicyRuleSignonSessionActions maxSessionIdleMinutes(Integer maxSessionIdleMinutes)
    • getMaxSessionIdleMinutes

      @Nullable public Integer getMaxSessionIdleMinutes()
      Maximum number of minutes that a User session can be idle before the session is ended
      Returns:
      maxSessionIdleMinutes
    • setMaxSessionIdleMinutes

      public void setMaxSessionIdleMinutes(Integer maxSessionIdleMinutes)
    • maxSessionLifetimeMinutes

      public OktaSignOnPolicyRuleSignonSessionActions maxSessionLifetimeMinutes(Integer maxSessionLifetimeMinutes)
    • getMaxSessionLifetimeMinutes

      @Nullable public Integer 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

      public void setMaxSessionLifetimeMinutes(Integer maxSessionLifetimeMinutes)
    • usePersistentCookie

      public OktaSignOnPolicyRuleSignonSessionActions usePersistentCookie(Boolean usePersistentCookie)
    • getUsePersistentCookie

      @Nullable public Boolean 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

      public void setUsePersistentCookie(Boolean usePersistentCookie)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object