Class FederatedFactor
java.lang.Object
com.irurueta.authserver.authorization.api.web.social.FederatedFactor
Registers the sign-in with an external provider as an authentication factor, in two flavours that are never held
together by one session:
AUTHORITY(fed, aFactorStrength.PRIMARYfactor): the normal case. The provider proved the user, but the server does not know how, so the normal second-factor flow applies;STRONG_AUTHORITY(fed,FactorStrength.PRIMARY_STRONG): granted instead of the first only when the provider is markedtrust-mfaand its upstreamamrcontainsmfa, so the sign-in satisfies the multi-factor policy on its own, like a passkey. Unlike a passkey it is alsomulti-factor alone: the provider proved several factors, so the session reaches the multi-factoracrand passes a step-up without a local second factor.
amr value, so the tokens read fed either way (plus mfa and the upstream
values for the strong one, see IdpClaimsContributor).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeclares the federated factor.Declares the federated factor of a trusted provider that proved several factors.
-
Field Details
-
AUTHORITY
Authority of a federated sign-in, a primary factor.- See Also:
-
STRONG_AUTHORITY
Authority of a federated sign-in whose provider proved several factors and is trusted for it.- See Also:
-
AMR_VALUE
RFC 8176amrvalue of a federated sign-in.- See Also:
-
-
Constructor Details
-
FederatedFactor
public FederatedFactor()
-
-
Method Details
-
federatedAuthenticationFactor
Declares the federated factor.- Returns:
- the factor.
-
federatedStrongAuthenticationFactor
Declares the federated factor of a trusted provider that proved several factors.- Returns:
- the factor.
-