Experimental release 2.6.0-alpha2
Pre-release
Pre-release
New features:
- Added public builder to
CredentialPropertiesOutput
. - Added public factory function
LargeBlobRegistrationOutput.supported(boolean)
. - Added public factory functions to
LargeBlobAuthenticationOutput
. - (Experimental) Added a new suite of interfaces, starting with
CredentialRepositoryV2
.RelyingParty
can now be configured with aCredentialRepositoryV2
instance instead of aCredentialRepository
instance. This changes the result of theRelyingParty
builder toRelyingPartyV2
.CredentialRepositoryV2
andRelyingPartyV2
enable a suite of new features:CredentialRepositoryV2
does not assume that the application has usernames, instead username support is modular. In addition to theCredentialRepositoryV2
,RelyingPartyV2
can be optionally configured with aUsernameRepository
as well. If aUsernameRepository
is not set, thenRelyingPartyV2.startAssertion(StartAssertionOptions)
will fail at runtime ifStartAssertionOptions.username
is set.CredentialRepositoryV2
uses a new interfaceCredentialRecord
to represent registered credentials, instead of the concreteRegisteredCredential
class (althoughRegisteredCredential
also implementsCredentialRecord
). This provides implementations greater flexibility while also automating the type conversion toPublicKeyCredentialDescriptor
needed instartRegistration()
andstartAssertion()
.RelyingPartyV2.finishAssertion()
returns a new typeAssertionResultV2
with a new methodgetCredential()
, which returns theCredentialRecord
that was verified. The return type ofgetCredential()
is generic and preserves the concrete type ofCredentialRecord
returned by theCredentialRepositoryV2
implementation.- NOTE: Experimental features may receive breaking changes without a major version increase.
- (Experimental) Added property
RegisteredCredential.transports
.- NOTE: Experimental features may receive breaking changes without a major version increase.
Artifacts built with openjdk version "17.0.9" 2023-10-17
.