Enum Class AuthStatusCode

java.lang.Object
java.lang.Enum<AuthStatusCode>
com.sankcrm.erp.auth.exception.AuthStatusCode
All Implemented Interfaces:
com.sankcrm.erp.common.statuscode.StatusCode, Serializable, Comparable<AuthStatusCode>, Constable

public enum AuthStatusCode extends Enum<AuthStatusCode> implements com.sankcrm.erp.common.statuscode.StatusCode
认证中心错误码
Since:
1.0.0
Author:
zhsxin@outlook.com
create time:
2020/5/5 上午9:56
  • Enum Constant Details

    • PWD_ERR

      public static final AuthStatusCode PWD_ERR
    • ACC_DISABLE

      public static final AuthStatusCode ACC_DISABLE
    • NOT_LOGIN

      public static final AuthStatusCode NOT_LOGIN
    • UNAUTHORIZED

      public static final AuthStatusCode UNAUTHORIZED
    • NO_ACCOUNT

      public static final AuthStatusCode NO_ACCOUNT
    • LOGIN_FAILURE

      public static final AuthStatusCode LOGIN_FAILURE
    • NOT_SSO

      public static final AuthStatusCode NOT_SSO
      不支持授权登陆
      Since:
      2.1.5
    • ISS_ERR

      public static final AuthStatusCode ISS_ERR
      应用编号错误
      Since:
      2.1.5
    • TOKEN_EXP

      public static final AuthStatusCode TOKEN_EXP
      令牌过期
      Since:
      2.1.5
    • NO_COMBO

      public static final AuthStatusCode NO_COMBO
      应用不支持组合认证
      Since:
      2.4.0
    • COMBO_ACCOUNT_ERR

      public static final AuthStatusCode COMBO_ACCOUNT_ERR
      账号不匹配
      Since:
      2.4.0
    • CODE_KEY_ERROR

      public static final AuthStatusCode CODE_KEY_ERROR
    • IS_CANNOT_MANAGER

      public static final AuthStatusCode IS_CANNOT_MANAGER
    • NOT_INIT

      public static final AuthStatusCode NOT_INIT
    • SMS_CODE_EXPIRE

      public static final AuthStatusCode SMS_CODE_EXPIRE
    • NOT_REGISTER

      public static final AuthStatusCode NOT_REGISTER
      应用不支持注册
      Since:
      2.1.3
    • USER_BOUND

      public static final AuthStatusCode USER_BOUND
      账号绑定了其他用户信息
    • AUTH_EXPIRE

      public static final AuthStatusCode AUTH_EXPIRE
      授权已过期
    • AUTH_FAIL

      public static final AuthStatusCode AUTH_FAIL
      微信授权失败
    • APP_USER_BOUND

      public static final AuthStatusCode APP_USER_BOUND
      账号绑定了其他的账号
    • PWD_NO_CHANGE

      public static final AuthStatusCode PWD_NO_CHANGE
      新密码与原密码一样
      Since:
      2.4.0
    • API_REQ_ERROR

      public static final AuthStatusCode API_REQ_ERROR
      服务响应异常
      Since:
      2.3.0
  • Method Details

    • values

      public static AuthStatusCode[] 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 AuthStatusCode 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