java.lang.Object
com.webauthn4j.data.CoreAuthenticationParameters
- Direct Known Subclasses:
AuthenticationParameters
-
Constructor Summary
ConstructorsConstructorDescriptionCoreAuthenticationParameters(@NotNull CoreServerProperty serverProperty, @NotNull CoreAuthenticator authenticator, boolean userVerificationRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.CoreAuthenticationParameters(@NotNull CoreServerProperty serverProperty, @NotNull CoreAuthenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2.CoreAuthenticationParameters(@NotNull CoreServerProperty serverProperty, @NotNull CoreAuthenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) Deprecated.Deprecated asCoreAuthenticatoris replaced withCoreCredentialRecordCoreAuthenticationParametersconstructorCoreAuthenticationParameters(@NotNull CoreServerProperty serverProperty, @NotNull CoreAuthenticator authenticator, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated asCoreAuthenticatoris replaced withCoreCredentialRecordCoreAuthenticationParametersconstructorCoreAuthenticationParameters(@NotNull CoreServerProperty serverProperty, @NotNull CoreCredentialRecord coreCredentialRecord, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) CoreAuthenticationParametersconstructorCoreAuthenticationParameters(@NotNull CoreServerProperty serverProperty, @NotNull CoreCredentialRecord coreCredentialRecord, @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) CoreAuthenticationParametersconstructor -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable List<byte[]>@NotNull CoreAuthenticator@NotNull CoreServerPropertyinthashCode()booleanbooleantoString()
-
Constructor Details
-
CoreAuthenticationParameters
public CoreAuthenticationParameters(@NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull CoreCredentialRecord coreCredentialRecord, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) CoreAuthenticationParametersconstructor- Parameters:
serverProperty- server propertycoreCredentialRecord- core 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
-
CoreAuthenticationParameters
public CoreAuthenticationParameters(@NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull CoreCredentialRecord coreCredentialRecord, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) CoreAuthenticationParametersconstructor- Parameters:
serverProperty- server propertycoreCredentialRecord- core credential recordallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, false
-
CoreAuthenticationParameters
@Deprecated public CoreAuthenticationParameters(@NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull CoreAuthenticator authenticator, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated asCoreAuthenticatoris replaced withCoreCredentialRecordCoreAuthenticationParametersconstructor- 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
-
CoreAuthenticationParameters
@Deprecated public CoreAuthenticationParameters(@NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull CoreAuthenticator authenticator, @Nullable @Nullable List<byte[]> allowCredentials, boolean userVerificationRequired) Deprecated.Deprecated asCoreAuthenticatoris replaced withCoreCredentialRecordCoreAuthenticationParametersconstructor- Parameters:
serverProperty- server propertyauthenticator- authenticatorallowCredentials- allowed credentialId list. If all credentialId(s) are allowed, pass nulluserVerificationRequired- true if user verification is required. Otherwise, false
-
CoreAuthenticationParameters
@Deprecated public CoreAuthenticationParameters(@NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull CoreAuthenticator authenticator, boolean userVerificationRequired, boolean userPresenceRequired) Deprecated.Deprecated as pubKeyCredParams verification was introduced from WebAuthn Level2. -
CoreAuthenticationParameters
@Deprecated public CoreAuthenticationParameters(@NotNull @NotNull CoreServerProperty serverProperty, @NotNull @NotNull 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
-