java.lang.Object
com.webauthn4j.data.CoreAuthenticationParameters
com.webauthn4j.data.AuthenticationParameters
WebAuthn authentication parameters
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationParameters(@NotNull ServerProperty serverProperty, @NotNull Authenticator authenticator, boolean userVerificationRequired) Deprecated.Deprecated as allowCredentials verification was introduced from WebAuthn Level2.AuthenticationParameters(@NotNull ServerProperty serverProperty, @NotNull Authenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as allowCredentials verification was introduced from WebAuthn Level2.AuthenticationParameters(@NotNull ServerProperty serverProperty, @NotNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) Deprecated.AuthenticationParameters(@NotNull ServerProperty serverProperty, @NotNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.AuthenticationParameters(@NotNull ServerProperty serverProperty, @NotNull CredentialRecord credentialRecord, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) AuthenticationParametersconstructorAuthenticationParameters(@NotNull ServerProperty serverProperty, @NotNull CredentialRecord credentialRecord, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) AuthenticationParametersconstructor -
Method Summary
Methods inherited from class com.webauthn4j.data.CoreAuthenticationParameters
equals, getAllowCredentials, hashCode, isUserPresenceRequired, isUserVerificationRequired, toString
-
Constructor Details
-
AuthenticationParameters
public AuthenticationParameters(@NotNull @NotNull ServerProperty serverProperty, @NotNull @NotNull CredentialRecord credentialRecord, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) AuthenticationParametersconstructor- Parameters:
serverProperty- server propertycredentialRecord- credential recordallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, falseuserPresenceRequired- true if user presence is required. Otherwise, false
-
AuthenticationParameters
public AuthenticationParameters(@NotNull @NotNull ServerProperty serverProperty, @NotNull @NotNull CredentialRecord credentialRecord, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) AuthenticationParametersconstructor- Parameters:
serverProperty- server propertycredentialRecord- credential recordallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, false
-
AuthenticationParameters
@Deprecated public AuthenticationParameters(@NotNull @NotNull ServerProperty serverProperty, @NotNull @NotNull Authenticator authenticator, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.- Parameters:
serverProperty- server propertyauthenticator- authenticatorallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, falseuserPresenceRequired- true if user presence is required. Otherwise, false
-
AuthenticationParameters
@Deprecated public AuthenticationParameters(@NotNull @NotNull ServerProperty serverProperty, @NotNull @NotNull Authenticator authenticator, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) Deprecated.- Parameters:
serverProperty- server propertyauthenticator- authenticatorallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, false
-
AuthenticationParameters
@Deprecated public AuthenticationParameters(@NotNull @NotNull ServerProperty serverProperty, @NotNull @NotNull Authenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as allowCredentials verification was introduced from WebAuthn Level2. -
AuthenticationParameters
@Deprecated public AuthenticationParameters(@NotNull @NotNull ServerProperty serverProperty, @NotNull @NotNull Authenticator authenticator, boolean userVerificationRequired) Deprecated.Deprecated as allowCredentials verification was introduced from WebAuthn Level2.
-
-
Method Details
-
getServerProperty
- Overrides:
getServerPropertyin classCoreAuthenticationParameters
-
getAuthenticator
- Overrides:
getAuthenticatorin classCoreAuthenticationParameters
-