Skip to content

Commit 0cbba57

Browse files
committed
Revert new experimental interfaces and classes
These will be postponed to the next minor version instead.
1 parent 798ec03 commit 0cbba57

22 files changed

+282
-11095
lines changed

NEWS

-31
Original file line numberDiff line numberDiff line change
@@ -29,37 +29,6 @@ New features:
2929
instead of an ordinary WebAuthn response. See the JavaDoc for details.
3030
** NOTE: Experimental features may receive breaking changes without a major
3131
version increase.
32-
* (Experimental) Added a new suite of interfaces, starting with
33-
`CredentialRepositoryV2`. `RelyingParty` can now be configured with a
34-
`CredentialRepositoryV2` instance instead of a `CredentialRepository`
35-
instance. This changes the result of the `RelyingParty` builder to
36-
`RelyingPartyV2`. `CredentialRepositoryV2` and `RelyingPartyV2` enable a suite
37-
of new features:
38-
** `CredentialRepositoryV2` does not assume that the application has usernames,
39-
instead username support is modular. In addition to the
40-
`CredentialRepositoryV2`, `RelyingPartyV2` can be optionally configured with
41-
a `UsernameRepository` as well. If a `UsernameRepository` is not set, then
42-
`RelyingPartyV2.startAssertion(StartAssertionOptions)` will fail at runtime
43-
if `StartAssertionOptions.username` is set.
44-
** `CredentialRepositoryV2` uses a new interface `CredentialRecord` to
45-
represent registered credentials, instead of the concrete
46-
`RegisteredCredential` class (although `RegisteredCredential` also
47-
implements `CredentialRecord`). This provides implementations greater
48-
flexibility while also automating the type conversion to
49-
`PublicKeyCredentialDescriptor` needed in `startRegistration()` and
50-
`startAssertion()`.
51-
** `RelyingPartyV2.finishAssertion()` returns a new type `AssertionResultV2`
52-
with a new method `getCredential()`, which returns the `CredentialRecord`
53-
that was verified. The return type of `getCredential()` is generic and
54-
preserves the concrete type of `CredentialRecord` returned by the
55-
`CredentialRepositoryV2` implementation.
56-
** NOTE: Experimental features may receive breaking changes without a major
57-
version increase.
58-
* (Experimental) Added property `RegisteredCredential.transports`.
59-
** NOTE: Experimental features may receive breaking changes without a major
60-
version increase.
61-
** NOTE: Experimental features may receive breaking changes without a major
62-
version increase.
6332

6433
`webauthn-server-attestation`:
6534

webauthn-server-core/src/main/java/com/yubico/webauthn/AssertionResultV2.java

-246
This file was deleted.

0 commit comments

Comments
 (0)