Class PasskeyChallenges.Pending

java.lang.Object
com.iizix.server.user.passkey.PasskeyChallenges.Pending
Enclosing class:
PasskeyChallenges

public static final class PasskeyChallenges.Pending extends Object
A challenge under way.
Author:
Christopher Mindus
  • Field Details

    • userID

      public final long userID
      The user the ceremony is for: the user ID, or zero for a sign-in that names no user.
    • rpId

      public final String rpId
      The relying party ID the options were made for.
  • Method Details

    • getChallenge

      public byte[] getChallenge()
      Gets the challenge.
      Returns:
      A copy of the bytes.
    • isDiscoverable

      public boolean isDiscoverable()
      Checks if the ceremony names no user: a sign-in with a discoverable credential.
      Returns:
      true when the user ID is zero.