Class AuthenticationStepContext

java.lang.Object
pl.edu.icm.unity.engine.api.authn.AuthenticatorStepContext
pl.edu.icm.unity.engine.api.authn.AuthenticationStepContext

public class AuthenticationStepContext extends AuthenticatorStepContext
Describes context of authentication: in which realm it happens (or happened), what flow is used, which option was used and which factor it was which can be 1 or 2 (at least until we start support 3rd factor authn).
  • Field Details

    • authnOptionId

      public final pl.edu.icm.unity.base.authn.AuthenticationOptionKey authnOptionId
  • Constructor Details

    • AuthenticationStepContext

      public AuthenticationStepContext(pl.edu.icm.unity.base.authn.AuthenticationRealm realm, AuthenticationFlow selectedAuthnFlow, pl.edu.icm.unity.base.authn.AuthenticationOptionKey authnOptionId, AuthenticatorStepContext.FactorOrder factor, String endpointPath)
    • AuthenticationStepContext

      public AuthenticationStepContext(AuthenticatorStepContext authenticatorContext, pl.edu.icm.unity.base.authn.AuthenticationOptionKey authnOptionId)