Package com.irurueta.authserver.authorization.domain.social
package com.irurueta.authserver.authorization.domain.social
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.
-
ClassDescriptionAn identity of an external provider linked to a local account: the account is reached by presenting the provider's stable subject, never by its e-mail address, which a provider may change.Thrown when an identity of an external provider is already linked to another account: one external identity belongs to one account only.Thrown when an account has no linked identity with the requested identifier.Port that stores the identities of external providers linked to accounts.Rules of identity brokering: when an external identity may be tied to an account, and when it may be removed.Thrown when a sign-in through an external provider is refused: the provider did not vouch for the e-mail address, or the address belongs to an account whose own address was never verified.Port that remembers which accounts only hold a password the server generated and nobody knows: the accounts created by the first sign-in with an external provider.External identity providers an account can be linked to.Thrown when removing a sign-in method would leave the account with none, so its owner could never sign in again.How far a provider's own multi-factor authentication is trusted.The ways an account can sign in with.Port that serializes the removals of the sign-in methods of one account (unlinking an identity, unbinding a certificate), so that two concurrent removals cannot each count the other's method as remaining and together leave the account with no way to sign in.Port that asks an external provider for the verified primary e-mail address of the user who just signed in, for a provider whose profile does not vouch for its e-mail address (GitHub).