Class PasskeyService.Asserted

java.lang.Object
com.iizix.server.user.passkey.PasskeyService.Asserted
Enclosing class:
PasskeyService

public static final class PasskeyService.Asserted extends Object
A verified sign-in with a passkey.
Author:
Christopher Mindus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The passkey, as it is stored after the use.
    final boolean
    Flag for a passkey that was registered through an account recovery less than PasskeyService.RECOVERY_WAIT_MS before this answer (CC-LOGIN-PASSKEY-SECOND-FACTOR, T1-039): the answer is a sound one of the passkey, and no proof of a second factor yet.
    final boolean
    Flag for a sign-in whose request named the user: a sign-in that waited for the passkey, or a confirmation of the signed-in user.
    final boolean
    Flag for an answer whose authenticator verified the user: the UV flag of the answer that was verified.
  • Method Summary

  • Field Details

    • passkey

      public final StoredPasskey passkey
      The passkey, as it is stored after the use.
    • userNamed

      public final boolean userNamed
      Flag for a sign-in whose request named the user: a sign-in that waited for the passkey, or a confirmation of the signed-in user.
    • userVerified

      public final boolean userVerified
      Flag for an answer whose authenticator verified the user: the UV flag of the answer that was verified. It is what makes the passkey the proof of a second factor (CC-LOGIN-M11-PASSKEY-PROOF). User verification is required of every answer, so every answer that is accepted has the flag; it is handed on as what WAS verified, so that the proof does not rest on what was asked for.
    • recoveryWait

      public final boolean recoveryWait
      Flag for a passkey that was registered through an account recovery less than PasskeyService.RECOVERY_WAIT_MS before this answer (CC-LOGIN-PASSKEY-SECOND-FACTOR, T1-039): the answer is a sound one of the passkey, and no proof of a second factor yet.