Class AuthenticationParameters

java.lang.Object
com.webauthn4j.data.CoreAuthenticationParameters
com.webauthn4j.data.AuthenticationParameters
All Implemented Interfaces:
Serializable

public class AuthenticationParameters extends CoreAuthenticationParameters
See Also:
  • Constructor Details

    • AuthenticationParameters

      public AuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired)
      Parameters:
      serverProperty - server property
      allowCredentials - allowed credentialId list. If all credentialId(s) are allowed, pass null
      userVerificationRequired - true if user verification is required. Otherwise, false
      userPresenceRequired - true if user presence is required. Otherwise, false
    • AuthenticationParameters

      public AuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired)
      Parameters:
      serverProperty - server property
      allowCredentials - allowed credentialId list. If all credentialId(s) are allowed, pass null
      userVerificationRequired - true if user verification is required. Otherwise, false
    • AuthenticationParameters

      @Deprecated public AuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired)
      Deprecated.
      Deprecated as allowCredentials verification was introduced from WebAuthn Level2.
    • AuthenticationParameters

      @Deprecated public AuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, boolean userVerificationRequired)
      Deprecated.
      Deprecated as allowCredentials verification was introduced from WebAuthn Level2.
  • Method Details