Package com.webauthn4j.data
Class CoreAuthenticationParameters
java.lang.Object
com.webauthn4j.data.CoreAuthenticationParameters
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthenticationParameters
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, boolean userVerificationRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.CoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.CoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) CoreAuthenticationParametersconstructorCoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) CoreAuthenticationParametersconstructor -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable List<byte[]>@NonNull CoreAuthenticator@NonNull CoreServerPropertyinthashCode()booleanbooleantoString()
-
Constructor Details
-
CoreAuthenticationParameters
public CoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) CoreAuthenticationParametersconstructor- 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
-
CoreAuthenticationParameters
public CoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) CoreAuthenticationParametersconstructor- Parameters:
serverProperty- server propertyallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, false
-
CoreAuthenticationParameters
@Deprecated public CoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2. -
CoreAuthenticationParameters
@Deprecated public CoreAuthenticationParameters(@NonNull CoreServerProperty serverProperty, @NonNull CoreAuthenticator authenticator, boolean userVerificationRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.
-
-
Method Details
-
getServerProperty
-
getAuthenticator
-
getAllowCredentials
-
isUserVerificationRequired
public boolean isUserVerificationRequired() -
isUserPresenceRequired
public boolean isUserPresenceRequired() -
equals
-
hashCode
public int hashCode() -
toString
-