Class UserMFA.Refusal

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.server.user.mfa.UserMFA.Refusal
All Implemented Interfaces:
Serializable
Enclosing class:
UserMFA

public static final class UserMFA.Refusal extends Exception
A refusal of a request that answers with data.
Author:
Christopher Mindus
See Also:
  • Field Details

    • outcome

      public final UserMFA.Outcome outcome
      What became of the request.
    • driftSeconds

      public final int driftSeconds
      For a refused code: the seconds the clock of the code is off this server's, when the code would have matched within UserMFA.DRIFT_STEPS steps outside the verifier's window (CC-FIX-SIGNIN-TOTP-ENROL, item 9); zero when no drift is named.
    • ended

      public final boolean ended
      For a refused code: whether it was the last one allowed - the enrolment that waited is dropped (UserMFA.MAX_PENDING_FAILURES), and the user starts over.