cn.dev33.satoken.oauth2.error.SaOAuth2ErrorCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sa-token-oauth2 Show documentation
Show all versions of sa-token-oauth2 Show documentation
sa-token realization oauth2.0
package cn.dev33.satoken.oauth2.error;
/**
* 定义 sa-token-oauth2 所有异常细分状态码
*
* @author kong
* @since: 2022-10-31
*/
public interface SaOAuth2ErrorCode {
/** client_id 不可为空 */
public static final int CODE_30101 = 30101;
/** scope 不可为空 */
public static final int CODE_30102 = 30102;
/** redirect_uri 不可为空 */
public static final int CODE_30103 = 30103;
/** LoginId 不可为空 */
public static final int CODE_30104 = 30104;
/** 无效client_id */
public static final int CODE_30105 = 30105;
/** 无效access_token */
public static final int CODE_30106 = 30106;
/** 无效 client_token */
public static final int CODE_30107 = 30107;
/** Access-Token 不具备指定的 Scope */
public static final int CODE_30108 = 30108;
/** Client-Token 不具备指定的 Scope */
public static final int CODE_30109 = 30109;
/** 无效 code 码 */
public static final int CODE_30110 = 30110;
/** 无效 Refresh-Token */
public static final int CODE_30111 = 30111;
/** 请求的Scope暂未签约 */
public static final int CODE_30112 = 30112;
/** 无效redirect_url */
public static final int CODE_30113 = 30113;
/** 非法redirect_url */
public static final int CODE_30114 = 30114;
/** 无效client_secret */
public static final int CODE_30115 = 30115;
/** 请求的Scope暂未签约 */
public static final int CODE_30116 = 30116;
/** 无效code */
public static final int CODE_30117 = 30117;
/** 无效client_id */
public static final int CODE_30118 = 30118;
/** 无效client_secret */
public static final int CODE_30119 = 30119;
/** 无效redirect_uri */
public static final int CODE_30120 = 30120;
/** 无效refresh_token */
public static final int CODE_30121 = 30121;
/** 无效client_id */
public static final int CODE_30122 = 30122;
/** 无效client_secret */
public static final int CODE_30123 = 30123;
/** 无效client_id */
public static final int CODE_30124 = 30124;
/** 无效response_type */
public static final int CODE_30125 = 30125;
/** 暂未开放授权码模式 */
public static final int CODE_30131 = 30131;
/** 暂未开放隐藏式模式 */
public static final int CODE_30132 = 30132;
/** 暂未开放密码式模式 */
public static final int CODE_30133 = 30133;
/** 暂未开放凭证式模式 */
public static final int CODE_30134 = 30134;
}