public enum GrantType extends Enum<GrantType>
| 枚举常量和说明 |
|---|
AUTHORIZATION_CODE
authorization_code
|
public static final GrantType AUTHORIZATION_CODE
public static GrantType[] values()
for (GrantType c : GrantType.values()) System.out.println(c);
public static GrantType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getCode()
Copyright © 2023. All rights reserved.