Enum Class SaLogoutRange

java.lang.Object
java.lang.Enum<SaLogoutRange>
cn.dev33.satoken.stp.parameter.enums.SaLogoutRange
All Implemented Interfaces:
Serializable, Comparable<SaLogoutRange>, Constable

public enum SaLogoutRange extends Enum<SaLogoutRange>
SaLogoutMode: 注销范围
Since:
1.41.0
Author:
click33
  • Enum Constant Details

    • TOKEN

      public static final SaLogoutRange TOKEN
      token 范围:只注销提供的 token 指向的会话
    • ACCOUNT

      public static final SaLogoutRange ACCOUNT
      账号范围:注销 token 指向的 loginId 会话
  • Method Details

    • values

      public static SaLogoutRange[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SaLogoutRange valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null