Pre-release 1.11.0-RC1
Pre-release
Pre-release
Deprecated features:
AuthenticatorSelectionCriteriamethodsbuilder().requireResidentKey(boolean)andisRequireResidentKey()deprecated in favor of a new option, see below.- The
iconfield inRelyingPartyIdentityandUserIdentity, and its associated methods, are now deprecated. The corresponding property was removed in WebAuthn Level 2.
Deprecated features will be removed in the next major version release.
Changes:
RelyingParty.appIdsetting now also activates theappidExcludeextension in addition to theappidextension.RelyingParty.startRegistration()now enables thecredPropsextension by default. The extension output, if any, is available asRegistrationResult.isDiscoverable()andRegistrationResult.getClientExtensionOutputs().getCredProps().
New features:
RegistrationResult.keyId()now includestransportsif any were included in theAuthenticatorAttestatationResponse. To get transports passed through, callPublicKeyCredential.response.getTransports()on the client side after successful registration, and add the result as the propertyresponse.transportsin the JSON passed intoPublicKeyCredential.parseRegistrationResponseJson. See the project README for an example.- Added support for the
appidExclude,credProps,largeBlobanduvmextensions. - Added support for the new
authenticatorSelectionCriteria.residentKeyoption:- Added method
AuthenticatorSelectionCriteria.builder().residentKey(ResidentKeyRequirement). - Added method
AuthenticatorSelectionCriteria.getResidentKey(). - Methods
builder().requireResidentKey(boolean)andisRequireResidentKey()deprecated in favor of the above two new methods. - The builder methods
requireResidentKey(boolean)andresidentKey(ResidentKeyRequirement)both control one shared setting, which sets both therequireResidentKeyandresidentKeyoptions simultaneously and in agreement with each other for backwards compatibility with older browsers.
- Added method
- Added methods
PublicKeyCredentialCreationOptions.toCredentialsCreateJson(),PublicKeyCredentialRequestOptions.toCredentialsGetJson()andAssertionRequest.toCredentialsGetJson()for serializing to JSON without having to use Jackson directly.
Fixes:
- Added missing JavaDoc for
idandnamemethods of initialRelyingPartyIdentityBuilderstages.
Artifacts built with openjdk 11.0.12 2021-07-20.