Interface FederatedIdentityRepository
- All Known Implementing Classes:
InMemoryFederatedIdentityRepository, JdbcFederatedIdentityRepository
public interface FederatedIdentityRepository
Which local user each identity at a provider is: the pairs of a registration's id and the provider's subject, each tied to one user name.
A provider's subject, not an email address, is what identifies a returning user: an address can change hands, and a subject does not.
-
Method Summary
Modifier and TypeMethodDescriptionfindByUsername(String username) The identities tied tousername, each as{provider, subject}.findUsername(String provider, String subject) The local user this identity is tied to, or null.Ties the identity tousername, unless it is tied already.booleanUnties the identity.
-
Method Details
-
findUsername
-
link
-
unlink
-
findByUsername
-