Uses of Record Class
com.irurueta.authserver.authorization.domain.social.FederatedIdentity
Packages that use FederatedIdentity
Package
Description
Social login (identity brokering) through external identity providers: Google, Microsoft Entra ID, Apple and GitHub.
Use cases of social login (identity brokering): resolving a sign-in with an external provider to an account (finding
it, linking by verified e-mail address, or provisioning it), linking, unlinking and listing the identities of an
account.
Social login (identity brokering): the identities of external providers linked to an account, the providers
supported, how far a provider's multi-factor claim is trusted, and the port that stores the links.
JDBC adapters of social login: the identities of external providers linked to accounts, the mark of the accounts
that only hold a generated password, and the Jackson module of the federated principals.
-
Uses of FederatedIdentity in com.irurueta.authserver.authorization.api.web.social
Methods in com.irurueta.authserver.authorization.api.web.social with parameters of type FederatedIdentityModifier and TypeMethodDescriptionIdentityDtoMapper.toResponse(FederatedIdentity identity) Maps an identity to its public view.IdentityViewMapper.toView(FederatedIdentity identity) Maps an identity.Method parameters in com.irurueta.authserver.authorization.api.web.social with type arguments of type FederatedIdentityModifier and TypeMethodDescriptionIdentityDtoMapper.toResponses(List<FederatedIdentity> identities) Maps several identities, keeping their order.IdentityViewMapper.toViews(List<FederatedIdentity> identities) Maps several identities, keeping their order. -
Uses of FederatedIdentity in com.irurueta.authserver.authorization.application.social
Fields in com.irurueta.authserver.authorization.application.social declared as FederatedIdentityModifier and TypeFieldDescriptionprivate final FederatedIdentityFederatedLogin.identityThe field for theidentityrecord component.Methods in com.irurueta.authserver.authorization.application.social that return FederatedIdentityModifier and TypeMethodDescriptionLinkIdentityUseCase.execute(UUID userId, String username, IdentityProvider provider, String subject, String email) Links an identity to an account.FederatedLogin.identity()Returns the value of theidentityrecord component.private FederatedIdentityResolveFederatedLoginUseCase.link(UserAccount account, IdentityProvider provider, String subject, String email, Instant now) Links an identity to an account and audits it.Methods in com.irurueta.authserver.authorization.application.social that return types with arguments of type FederatedIdentityModifier and TypeMethodDescriptionLists the identities of an account, oldest link first.Methods in com.irurueta.authserver.authorization.application.social with parameters of type FederatedIdentityModifier and TypeMethodDescriptionprivate FederatedLoginResolveFederatedLoginUseCase.signIn(FederatedIdentity identity, String email, Instant now) Signs in the account of an identity that is already linked, remembering the sign-in.Constructors in com.irurueta.authserver.authorization.application.social with parameters of type FederatedIdentityModifierConstructorDescriptionFederatedLogin(UserAccount account, FederatedIdentity identity, FederatedLoginOutcome outcome) Creates an instance of aFederatedLoginrecord class. -
Uses of FederatedIdentity in com.irurueta.authserver.authorization.domain.social
Methods in com.irurueta.authserver.authorization.domain.social that return FederatedIdentityModifier and TypeMethodDescriptionFederatedIdentityRepository.save(FederatedIdentity identity) Stores a link, inserting it or updating the e-mail address and last sign-in instant of an existing one.Methods in com.irurueta.authserver.authorization.domain.social that return types with arguments of type FederatedIdentityModifier and TypeMethodDescriptionFederatedIdentityRepository.findByIdAndUser(UUID id, UUID userId) Finds one link of an account.FederatedIdentityRepository.findByProviderAndSubject(IdentityProvider provider, String subject) Finds the link of a provider's subject.FederatedIdentityRepository.findByUser(UUID userId) Lists the identities linked to an account, oldest link first.Methods in com.irurueta.authserver.authorization.domain.social with parameters of type FederatedIdentityModifier and TypeMethodDescriptionFederatedIdentityRepository.save(FederatedIdentity identity) Stores a link, inserting it or updating the e-mail address and last sign-in instant of an existing one. -
Uses of FederatedIdentity in com.irurueta.authserver.authorization.infrastructure.persistence.social
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.social that return FederatedIdentityModifier and TypeMethodDescriptionMaps the current row.JdbcFederatedIdentityRepository.save(FederatedIdentity identity) Methods in com.irurueta.authserver.authorization.infrastructure.persistence.social that return types with arguments of type FederatedIdentityModifier and TypeMethodDescriptionJdbcFederatedIdentityRepository.findByIdAndUser(UUID id, UUID userId) JdbcFederatedIdentityRepository.findByProviderAndSubject(IdentityProvider provider, String subject) JdbcFederatedIdentityRepository.findByUser(UUID userId) Methods in com.irurueta.authserver.authorization.infrastructure.persistence.social with parameters of type FederatedIdentityModifier and TypeMethodDescriptionJdbcFederatedIdentityRepository.save(FederatedIdentity identity)