public enum AuthDefaultSource extends Enum<AuthDefaultSource> implements AuthSource
Enum Constant and Description |
---|
ALIPAY
支付宝
|
ALIYUN
阿里云
|
AMAZON
Amazon
|
BAIDU
百度
|
CODING
Coding,
|
CSDN
csdn
|
DINGTALK
钉钉扫码登录
|
DINGTALK_ACCOUNT
钉钉账号登录
|
DOUYIN
抖音
|
ELEME
饿了么
|
FACEBOOK
Facebook
|
FEISHU
飞书平台,企业自建应用授权登录,原逻辑由 beacon 集成于 1.14.0 版,但最新的飞书 api 已修改,并且飞书平台一直为
Deprecated 状态 |
GITEE
gitee
|
GITHUB
Github
|
GITLAB
Gitlab
|
GOOGLE
Google
|
HUAWEI
华为
|
JD
京东
|
KUJIALE
酷家乐
|
LINE
line
|
LINKEDIN
领英
|
MEITUAN
美团
|
MI
小米
|
MICROSOFT
微软
|
OKTA
Okta,
|
OSCHINA
oschina 开源中国
|
PINTEREST
Pinterest
|
PROGINN
程序员客栈
|
QQ
QQ
|
RENREN
人人网
|
SLACK
Slack
|
STACK_OVERFLOW
Stack Overflow
|
TAOBAO
淘宝
|
TEAMBITION
Teambition
|
TOUTIAO
今日头条
|
TWITTER
Twitter
|
WECHAT_ENTERPRISE
企业微信二维码登录
|
WECHAT_ENTERPRISE_QRCODE_THIRD
企业微信二维码第三方登录
|
WECHAT_ENTERPRISE_WEB
企业微信网页登录
|
WECHAT_MP
微信公众平台
|
WECHAT_OPEN
微信开放平台
|
WEIBO
新浪微博
|
XMLY
喜马拉雅
|
Modifier and Type | Method and Description |
---|---|
static AuthDefaultSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthDefaultSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
accessToken, authorize, getName, getTargetClass, refresh, revoke, userInfo
public static final AuthDefaultSource GITHUB
public static final AuthDefaultSource WEIBO
public static final AuthDefaultSource GITEE
public static final AuthDefaultSource DINGTALK
public static final AuthDefaultSource DINGTALK_ACCOUNT
public static final AuthDefaultSource BAIDU
public static final AuthDefaultSource CSDN
public static final AuthDefaultSource CODING
参考 https://help.coding.net/docs/project/open/oauth.html#%E7%94%A8%E6%88%B7%E6%8E%88%E6%9D%83 中的说明, 新版的 coding API 地址需要传入用户团队名,这儿使用动态参数,方便在 request 中使用
public static final AuthDefaultSource OSCHINA
public static final AuthDefaultSource ALIPAY
public static final AuthDefaultSource QQ
public static final AuthDefaultSource WECHAT_OPEN
public static final AuthDefaultSource WECHAT_MP
public static final AuthDefaultSource TAOBAO
public static final AuthDefaultSource GOOGLE
public static final AuthDefaultSource FACEBOOK
public static final AuthDefaultSource DOUYIN
public static final AuthDefaultSource LINKEDIN
public static final AuthDefaultSource MICROSOFT
public static final AuthDefaultSource MI
public static final AuthDefaultSource TOUTIAO
public static final AuthDefaultSource TEAMBITION
public static final AuthDefaultSource RENREN
public static final AuthDefaultSource PINTEREST
public static final AuthDefaultSource STACK_OVERFLOW
public static final AuthDefaultSource HUAWEI
public static final AuthDefaultSource WECHAT_ENTERPRISE
public static final AuthDefaultSource WECHAT_ENTERPRISE_QRCODE_THIRD
public static final AuthDefaultSource WECHAT_ENTERPRISE_WEB
public static final AuthDefaultSource KUJIALE
public static final AuthDefaultSource GITLAB
public static final AuthDefaultSource MEITUAN
public static final AuthDefaultSource ELEME
注:集成的是正式环境,非沙箱环境
public static final AuthDefaultSource TWITTER
public static final AuthDefaultSource FEISHU
Deprecated
状态
所以,最终修改该平台的实际发布版本为 1.15.9
public static final AuthDefaultSource JD
public static final AuthDefaultSource ALIYUN
public static final AuthDefaultSource XMLY
public static final AuthDefaultSource AMAZON
public static final AuthDefaultSource SLACK
public static final AuthDefaultSource LINE
public static final AuthDefaultSource OKTA
团队/组织的域名不同,此处通过配置动态组装
public static final AuthDefaultSource PROGINN
public static AuthDefaultSource[] values()
for (AuthDefaultSource c : AuthDefaultSource.values()) System.out.println(c);
public static AuthDefaultSource 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 nullCopyright © 2021. All rights reserved.