@@ -29,37 +29,6 @@ New features:
29
29
instead of an ordinary WebAuthn response. See the JavaDoc for details.
30
30
** NOTE: Experimental features may receive breaking changes without a major
31
31
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.
63
32
64
33
`webauthn-server-attestation`:
65
34
0 commit comments