public enum ApiAuthType extends Enum<ApiAuthType>
| Enum Constant and Description |
|---|
ANONYMOUS |
APP
只允许已授权的APP调
|
APPOPENID |
OPENID |
| Modifier and Type | Method and Description |
|---|---|
String |
openapiValue() |
static ApiAuthType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiAuthType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiAuthType APP
public static final ApiAuthType ANONYMOUS
public static final ApiAuthType OPENID
public static final ApiAuthType APPOPENID
public static ApiAuthType[] values()
for (ApiAuthType c : ApiAuthType.values()) System.out.println(c);
public static ApiAuthType 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 openapiValue()
Copyright © 2021. All rights reserved.