avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-oauth2-authorization-server
/
io.github.lishangbu.avalon.oauth2.authorizationserver.authentication
/
SmsAuthenticationToken
/
SmsAuthenticationToken
Sms
Authentication
Token
constructor
(
phoneNumber
:
String
,
smsCode
:
String
)
使用手机号与验证码创建未认证令牌
constructor
(
principal
:
Any
?
,
credentials
:
Any
?
,
authorities
:
Collection
<
GrantedAuthority
>
)
使用认证结果与权限创建已认证令牌