public enum AuthStatus extends Enum<AuthStatus>
| Enum Constant and Description |
|---|
OF_IP |
OF_LOGINED |
OF_PATH |
OF_PERMISSIONS |
OF_ROLES |
| Modifier and Type | Method and Description |
|---|---|
org.noear.solon.core.handle.Result |
toResult()
转为结果对象
|
org.noear.solon.core.handle.Result |
toResult(String note)
转为结果对象
|
String |
toString() |
static AuthStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthStatus OF_IP
public static final AuthStatus OF_LOGINED
public static final AuthStatus OF_PATH
public static final AuthStatus OF_PERMISSIONS
public static final AuthStatus OF_ROLES
public final int code
public final String message
public static AuthStatus[] values()
for (AuthStatus c : AuthStatus.values()) System.out.println(c);
public static AuthStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<AuthStatus>public org.noear.solon.core.handle.Result toResult()
public org.noear.solon.core.handle.Result toResult(String note)
note - 摘要Copyright © 2025. All rights reserved.