8e68e650f234f83b3b32db4c2c19f9c0165752be
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type client : ClientDetails to autoapprovedScopes : Set<String> in method private getAutoApprovedScopes(grantType Object, tokenScopes Collection<String>, autoapprovedScopes Set<String>) : Set<String> in class org.cloudfoundry.identity.uaa.oauth.ApprovalService | From | To | |
Move Method | 1 | ||
Move Method private getAutoApprovedScopes(grantType Object, tokenScopes Collection<String>, client ClientDetails) : Set<String> from class org.cloudfoundry.identity.uaa.oauth.UaaTokenServices to private getAutoApprovedScopes(grantType Object, tokenScopes Collection<String>, autoapprovedScopes Set<String>) : Set<String> from class org.cloudfoundry.identity.uaa.oauth.ApprovalService | From | To | |
Change Variable Type | 3 | ||
Change Variable Type client : ClientDetails to client : BaseClientDetails in method public refreshAccessToken(refreshTokenValue String, request TokenRequest) : OAuth2AccessToken in class org.cloudfoundry.identity.uaa.oauth.UaaTokenServices | From | To | |
Change Variable Type client : ClientDetails to client : BaseClientDetails in method public readAccessToken(accessToken String) : OAuth2AccessToken in class org.cloudfoundry.identity.uaa.oauth.UaaTokenServices | From | To | |
Change Variable Type client : ClientDetails to client : BaseClientDetails in method public createAccessToken(authentication OAuth2Authentication) : OAuth2AccessToken in class org.cloudfoundry.identity.uaa.oauth.UaaTokenServices | From | To | |
Rename Parameter | 2 | ||
Rename Parameter client : ClientDetails to autoapprovedScopes : Set<String> in method private getAutoApprovedScopes(grantType Object, tokenScopes Collection<String>, autoapprovedScopes Set<String>) : Set<String> in class org.cloudfoundry.identity.uaa.oauth.ApprovalService | From | To | |
Rename Parameter clientId : String to grantType : String in method public ensureRequiredApprovals(userId String, requestedScopes Collection<String>, grantType String, clientDetails BaseClientDetails) : void in class org.cloudfoundry.identity.uaa.oauth.ApprovalService | From | To |