mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 修复 升级justauth底层方法修改导致代码编译问题
This commit is contained in:
		@@ -30,7 +30,7 @@ public class AuthMaxKeyRequest extends AuthDefaultRequest {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    protected AuthToken getAccessToken(AuthCallback authCallback) {
 | 
					    public AuthToken getAccessToken(AuthCallback authCallback) {
 | 
				
			||||||
        String body = doPostAuthorizationCode(authCallback.getCode());
 | 
					        String body = doPostAuthorizationCode(authCallback.getCode());
 | 
				
			||||||
        Dict object = JsonUtils.parseMap(body);
 | 
					        Dict object = JsonUtils.parseMap(body);
 | 
				
			||||||
        // oauth/token 验证异常
 | 
					        // oauth/token 验证异常
 | 
				
			||||||
@@ -51,7 +51,7 @@ public class AuthMaxKeyRequest extends AuthDefaultRequest {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    protected AuthUser getUserInfo(AuthToken authToken) {
 | 
					    public AuthUser getUserInfo(AuthToken authToken) {
 | 
				
			||||||
        String body = doGetUserInfo(authToken);
 | 
					        String body = doGetUserInfo(authToken);
 | 
				
			||||||
        Dict object = JsonUtils.parseMap(body);
 | 
					        Dict object = JsonUtils.parseMap(body);
 | 
				
			||||||
        // oauth/token 验证异常
 | 
					        // oauth/token 验证异常
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -41,7 +41,7 @@ public class AuthTopIamRequest extends AuthDefaultRequest {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    protected AuthToken getAccessToken(AuthCallback authCallback) {
 | 
					    public AuthToken getAccessToken(AuthCallback authCallback) {
 | 
				
			||||||
        String body = doPostAuthorizationCode(authCallback.getCode());
 | 
					        String body = doPostAuthorizationCode(authCallback.getCode());
 | 
				
			||||||
        Dict object = JsonUtils.parseMap(body);
 | 
					        Dict object = JsonUtils.parseMap(body);
 | 
				
			||||||
        checkResponse(object);
 | 
					        checkResponse(object);
 | 
				
			||||||
@@ -55,7 +55,7 @@ public class AuthTopIamRequest extends AuthDefaultRequest {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    protected AuthUser getUserInfo(AuthToken authToken) {
 | 
					    public AuthUser getUserInfo(AuthToken authToken) {
 | 
				
			||||||
        String body = doGetUserInfo(authToken);
 | 
					        String body = doGetUserInfo(authToken);
 | 
				
			||||||
        Dict object = JsonUtils.parseMap(body);
 | 
					        Dict object = JsonUtils.parseMap(body);
 | 
				
			||||||
        checkResponse(object);
 | 
					        checkResponse(object);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user