⬆️ Upgrading dependencies. sas 0.4.1

This commit is contained in:
lbw committed 2023-03-24 10:26:33 +08:00
1 parent 1c4d5be077
commit d731366d86
2 files changed
+3 -3

No files matched your search

@@ -188,13 +188,13 @@ public abstract class OAuth2ResourceOwnerBaseAuthenticationProvider<T extends OA
.principal(usernamePasswordAuthentication)
.authorizationServerContext(AuthorizationServerContextHolder.getContext())
.authorizedScopes(authorizedScopes)
.authorizationGrantType(AuthorizationGrantType.PASSWORD)
.authorizationGrantType(resouceOwnerBaseAuthentication.getAuthorizationGrantType())
.authorizationGrant(resouceOwnerBaseAuthentication);
// @formatter:on
OAuth2Authorization.Builder authorizationBuilder = OAuth2Authorization.withRegisteredClient(registeredClient)
.principalName(usernamePasswordAuthentication.getName())
.authorizationGrantType(AuthorizationGrantType.PASSWORD)
.authorizationGrantType(resouceOwnerBaseAuthentication.getAuthorizationGrantType())
// 0.4.0 新增的方法
.authorizedScopes(authorizedScopes);
+1 -1
View File
@@ -41,7 +41,7 @@
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.version>3.8.1</maven.compiler.version>
<spring.checkstyle.version>0.0.34</spring.checkstyle.version>
<spring.authorization.version>0.4.0</spring.authorization.version>
<spring.authorization.version>0.4.1</spring.authorization.version>
<git.commit.version>2.2.5</git.commit.version>
<spring-boot-admin.version>2.7.10</spring-boot-admin.version>
<captcha.version>1.2.7</captcha.version>