mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 03:48:05 +08:00
fix:提示勘误
This commit is contained in:
parent
c0d2a50ae9
commit
34d3f0f12e
@ -27,19 +27,19 @@ public class Oauth2MaxKeyAuthSource implements AuthSource {
|
||||
|
||||
@Override
|
||||
public String authorize() {
|
||||
Assert.notNull(oauthConfig, "为配置 oauth2");
|
||||
Assert.notNull(oauthConfig, "未配置 oauth2");
|
||||
return oauthConfig.getAuthorizationUri();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String accessToken() {
|
||||
Assert.notNull(oauthConfig, "为配置 oauth2");
|
||||
Assert.notNull(oauthConfig, "未配置 oauth2");
|
||||
return oauthConfig.getAccessTokenUri();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String userInfo() {
|
||||
Assert.notNull(oauthConfig, "为配置 oauth2");
|
||||
Assert.notNull(oauthConfig, "未配置 oauth2");
|
||||
return oauthConfig.getUserInfoUri();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user