Class IdentityViewMapper
java.lang.Object
com.irurueta.authserver.authorization.api.web.social.IdentityViewMapper
Maps the linked identities of the domain onto the view model of the identities page.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoView(FederatedIdentity identity) Maps an identity.toViews(List<FederatedIdentity> identities) Maps several identities, keeping their order.
-
Constructor Details
-
IdentityViewMapper
public IdentityViewMapper()
-
-
Method Details
-
toView
Maps an identity.- Parameters:
identity- the identity.- Returns:
- its view.
-
toViews
Maps several identities, keeping their order.- Parameters:
identities- the identities.- Returns:
- their views.
-