Package com.webauthn4j.data
Class AuthenticationParameters
java.lang.Object
com.webauthn4j.data.CoreAuthenticationParameters
com.webauthn4j.data.AuthenticationParameters
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, boolean userVerificationRequired) Deprecated.Deprecated as allowCredentials verification was introduced from WebAuthn Level2.AuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as allowCredentials verification was introduced from WebAuthn Level2.AuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) AuthenticationParametersconstructorAuthenticationParameters(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, @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(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) AuthenticationParametersconstructor- Parameters:
serverProperty- server propertyallowCredentials- 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(@NonNull ServerProperty serverProperty, @NonNull Authenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) AuthenticationParametersconstructor- Parameters:
serverProperty- server propertyallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- 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
-
getServerProperty
- Overrides:
getServerPropertyin classCoreAuthenticationParameters
-
getAuthenticator
- Overrides:
getAuthenticatorin classCoreAuthenticationParameters
-