Uses of Enum Class
com.irurueta.authserver.authorization.domain.social.IdentityProvider
Packages that use IdentityProvider
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 IdentityProvider in com.irurueta.authserver.authorization.api.web.social
Methods in com.irurueta.authserver.authorization.api.web.social that return types with arguments of type IdentityProviderModifier and TypeMethodDescriptionprivate List<IdentityProvider> IdentitiesPageController.configuredProviders()Lists the providers that are configured, in the order ofIdentityProvider.SocialProperties.enabledProviders()Returns the enabled providers, in the order ofIdentityProvider.Methods in com.irurueta.authserver.authorization.api.web.social with parameters of type IdentityProviderModifier and TypeMethodDescriptionvoidPendingIdentityLinks.begin(jakarta.servlet.http.HttpSession session, IdentityProvider provider, UUID userId, String username) Records that the next sign-in with a provider links its identity to the signed-in account.PendingIdentityLinks.consume(IdentityProvider provider) Consumes the marker of the current request, if it is usable for a sign-in with a provider.SocialProperties.find(IdentityProvider provider) Returns the settings of an enabled provider.(package private) static booleanSocialProvidersCondition.isConfigured(org.springframework.core.env.Environment environment, IdentityProvider provider) Tells whether a provider is configured.private org.springframework.security.core.userdetails.UserDetailsFederatedAccountResolver.link(PendingIdentityLink link, IdentityProvider provider, String subject, String email) Links an identity to the signed-in account that asked for it.org.springframework.security.core.userdetails.UserDetailsFederatedAccountResolver.resolve(IdentityProvider provider, String subject, String email, boolean emailVerified) Resolves a sign-in.org.springframework.security.oauth2.client.registration.ClientRegistrationClientRegistrationMapper.toRegistration(IdentityProvider provider, SocialProperties.Provider settings) Maps one provider.SocialProperties.trust(IdentityProvider provider) Returns how far the multi-factor authentication of a provider is trusted.private static voidSocialProperties.validate(IdentityProvider id, SocialProperties.Provider provider) Checks the settings of a provider that is enabled. -
Uses of IdentityProvider in com.irurueta.authserver.authorization.application.social
Methods in com.irurueta.authserver.authorization.application.social with parameters of type IdentityProviderModifier and TypeMethodDescriptionLinkIdentityUseCase.execute(UUID userId, String username, IdentityProvider provider, String subject, String email) Links an identity to an account.ResolveFederatedLoginUseCase.execute(IdentityProvider provider, String subject, String email, boolean emailVerified) Resolves a sign-in.private FederatedIdentityResolveFederatedLoginUseCase.link(UserAccount account, IdentityProvider provider, String subject, String email, Instant now) Links an identity to an account and audits it.private UserAccountResolveFederatedLoginUseCase.provision(IdentityProvider provider, String email) Creates an enabled account from the provider's verified e-mail address. -
Uses of IdentityProvider in com.irurueta.authserver.authorization.domain.social
Fields in com.irurueta.authserver.authorization.domain.social declared as IdentityProviderModifier and TypeFieldDescriptionprivate final IdentityProviderFederatedIdentity.providerThe field for theproviderrecord component.private final IdentityProviderProviderTrust.providerThe field for theproviderrecord component.Methods in com.irurueta.authserver.authorization.domain.social that return IdentityProviderModifier and TypeMethodDescriptionFederatedIdentity.provider()Returns the value of theproviderrecord component.ProviderTrust.provider()Returns the value of theproviderrecord component.static IdentityProviderReturns the enum constant of this class with the specified name.static IdentityProvider[]IdentityProvider.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.irurueta.authserver.authorization.domain.social that return types with arguments of type IdentityProviderModifier and TypeMethodDescriptionstatic Optional<IdentityProvider> Finds a provider by its registration id.Methods in com.irurueta.authserver.authorization.domain.social with parameters of type IdentityProviderModifier and TypeMethodDescriptionFederatedIdentityRepository.findByProviderAndSubject(IdentityProvider provider, String subject) Finds the link of a provider's subject.voidFederatedIdentityRepository.lockSubject(IdentityProvider provider, String subject) Serializes, until the caller's transaction ends, every caller that links or resolves the same identity of a provider, so that two first sign-ins of the same person never both try to link it: the second one waits and then finds the link of the first.Constructors in com.irurueta.authserver.authorization.domain.social with parameters of type IdentityProviderModifierConstructorDescriptionFederatedIdentity(UUID id, UUID userId, IdentityProvider provider, String subject, String email, Instant linkedAt, Instant lastLoginAt) Validates the identity.ProviderTrust(IdentityProvider provider, boolean trustMfa) Validates the trust setting. -
Uses of IdentityProvider in com.irurueta.authserver.authorization.infrastructure.persistence.social
Methods in com.irurueta.authserver.authorization.infrastructure.persistence.social with parameters of type IdentityProviderModifier and TypeMethodDescriptionJdbcFederatedIdentityRepository.findByProviderAndSubject(IdentityProvider provider, String subject) voidJdbcFederatedIdentityRepository.lockSubject(IdentityProvider provider, String subject)