Class RegistrationParameters

java.lang.Object
com.webauthn4j.data.CoreRegistrationParameters
com.webauthn4j.data.RegistrationParameters

public class RegistrationParameters extends CoreRegistrationParameters
WebAuthn registration parameters
  • Constructor Details

    • RegistrationParameters

      public RegistrationParameters(@NotNull @NotNull ServerProperty serverProperty, @Nullable @Nullable List<PublicKeyCredentialParameters> pubKeyCredParams, boolean userVerificationRequired, boolean userPresenceRequired)
      Parameters:
      serverProperty - server property
      pubKeyCredParams - allowed PublicKeyCredentialParameters. If all COSEAlgorithmIdentifier are allowed, pass null
      userVerificationRequired - true if user verification is required. Otherwise, false
      userPresenceRequired - true if user presence is required. Otherwise, false
    • RegistrationParameters

      public RegistrationParameters(@NotNull @NotNull ServerProperty serverProperty, @Nullable @Nullable List<PublicKeyCredentialParameters> pubKeyCredParams, boolean userVerificationRequired)
      Parameters:
      serverProperty - server property
      pubKeyCredParams - allowed PublicKeyCredentialParameters. If all COSEAlgorithmIdentifier are allowed, pass null
      userVerificationRequired - true if user verification is required. Otherwise, false
    • RegistrationParameters

      @Deprecated public RegistrationParameters(@NotNull @NotNull ServerProperty serverProperty, boolean userVerificationRequired, boolean userPresenceRequired)
      Deprecated.
      Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
    • RegistrationParameters

      @Deprecated public RegistrationParameters(@NotNull @NotNull ServerProperty serverProperty, boolean userVerificationRequired)
      Deprecated.
      Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
  • Method Details