public enum AuthProginnScope extends Enum<AuthProginnScope> implements AuthScope
| 枚举常量和说明 |
|---|
BASIC
scope 含义,以description 为准 |
cellphone |
email
以上 scope 需要单独向程序员客栈平台申请,否则不可使用
|
realname |
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
description |
private boolean |
isDefault |
private String |
scope |
public static final AuthProginnScope BASIC
scope 含义,以description 为准public static final AuthProginnScope email
public static final AuthProginnScope realname
public static final AuthProginnScope cellphone
private final String scope
private final String description
private final boolean isDefault
public static AuthProginnScope[] values()
for (AuthProginnScope c : AuthProginnScope.values()) System.out.println(c);
public static AuthProginnScope valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2023. All rights reserved.