b0fb737de38307aefdce7d7d0b2596b28e15f1ed
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 27
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type realm : RealmModel to realmName : String in method public identityProviderAuthnRequest(baseURI URI, providerId String, realmName String) : URI in class org.keycloak.services.resources.flows.Urls | From | To | |
Change Parameter Type identityProvider : IdentityProviderModel to providerId : String in method public identityProviderAuthnRequest(baseURI URI, providerId String, realmName String) : URI in class org.keycloak.services.resources.flows.Urls | From | To | |
Rename Class | 1 | ||
Rename Class org.keycloak.services.resources.AuthenticationBrokerResource renamed to org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute | 7 | ||
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private getIdentityProviderConfig(providerId String) : IdentityProviderModel in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private createUser(updatedIdentity FederatedIdentity) : UserModel in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private getToken(providerId String, forceRetrieval boolean) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private getIdentityProvider(providerId String) : IdentityProvider in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private performAccountLinking(clientSession ClientSessionModel, providerId String, federatedIdentityModel FederatedIdentityModel, federatedUser UserModel) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private performLocalAuthentication(updatedIdentity FederatedIdentity, clientCode ClientSessionCode) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Replace Variable With Attribute realm : RealmModel to realmModel : RealmModel in method private updateFederatedIdentity(updatedIdentity FederatedIdentity, federatedUser UserModel) : void in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Extract Method | 3 | ||
Extract Method private updateFederatedIdentity(updatedIdentity FederatedIdentity, federatedUser UserModel) : void extracted from private performLocalAuthentication(realm RealmModel, providerId String, updatedIdentity FederatedIdentity, clientCode ClientSessionCode) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Extract Method private performAccountLinking(clientSession ClientSessionModel, providerId String, federatedIdentityModel FederatedIdentityModel, federatedUser UserModel) : Response extracted from private performLocalAuthentication(realm RealmModel, providerId String, updatedIdentity FederatedIdentity, clientCode ClientSessionCode) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Extract Method private createUser(updatedIdentity FederatedIdentity) : UserModel extracted from private performLocalAuthentication(realm RealmModel, providerId String, updatedIdentity FederatedIdentity, clientCode ClientSessionCode) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Rename Parameter | 3 | ||
Rename Parameter realm : RealmModel to realmName : String in method public identityProviderAuthnRequest(baseURI URI, providerId String, realmName String) : URI in class org.keycloak.services.resources.flows.Urls | From | To | |
Rename Parameter baseURI : URI to baseUri : URI in method public identityProviderAuthnRequest(baseUri URI, providerId String, realmName String, accessCode String) : URI in class org.keycloak.services.resources.flows.Urls | From | To | |
Rename Parameter identityProvider : IdentityProviderModel to providerId : String in method public identityProviderAuthnRequest(baseURI URI, providerId String, realmName String) : URI in class org.keycloak.services.resources.flows.Urls | From | To |