Skip to content

Commit 5b7c0a9

Browse files
committed
Revert new experimental interfaces and classes
These will be postponed to the next minor version instead.
1 parent accb849 commit 5b7c0a9

23 files changed

+248
-11512
lines changed

NEWS

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,6 @@
33
* Added overloaded setter `RelyingPartyBuilder.origins(Optional<Set<String>>)`.
44
* Added support for the CTAP2 `credProtect` extension.
55
* Added support for the `prf` extension.
6-
* (Experimental) Added a new suite of interfaces, starting with
7-
`CredentialRepositoryV2`. `RelyingParty` can now be configured with a
8-
`CredentialRepositoryV2` instance instead of a `CredentialRepository`
9-
instance. This changes the result of the `RelyingParty` builder to
10-
`RelyingPartyV2`. `CredentialRepositoryV2` and `RelyingPartyV2` enable a suite
11-
of new features:
12-
** `CredentialRepositoryV2` does not assume that the application has usernames,
13-
instead username support is modular. In addition to the
14-
`CredentialRepositoryV2`, `RelyingPartyV2` can be optionally configured with
15-
a `UsernameRepository` as well. If a `UsernameRepository` is not set, then
16-
`RelyingPartyV2.startAssertion(StartAssertionOptions)` will fail at runtime
17-
if `StartAssertionOptions.username` is set.
18-
** `CredentialRepositoryV2` uses a new interface `CredentialRecord` to
19-
represent registered credentials, instead of the concrete
20-
`RegisteredCredential` class (although `RegisteredCredential` also
21-
implements `CredentialRecord`). This provides implementations greater
22-
flexibility while also automating the type conversion to
23-
`PublicKeyCredentialDescriptor` needed in `startRegistration()` and
24-
`startAssertion()`.
25-
** `RelyingPartyV2.finishAssertion()` returns a new type `AssertionResultV2`
26-
with a new method `getCredential()`, which returns the `CredentialRecord`
27-
that was verified. The return type of `getCredential()` is generic and
28-
preserves the concrete type of `CredentialRecord` returned by the
29-
`CredentialRepositoryV2` implementation.
30-
** NOTE: Experimental features may receive breaking changes without a major
31-
version increase.
32-
* (Experimental) Added property `RegisteredCredential.transports`.
33-
** NOTE: Experimental features may receive breaking changes without a major
34-
version increase.
356
* (Experimental) Added option `FinishRegistrationOptions.isConditionalCreate` to
367
allow UP=0 in registration response for registration ceremonies with
378
`mediation: "conditional"`.

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

Lines changed: 0 additions & 246 deletions
This file was deleted.

0 commit comments

Comments
 (0)