|
3 | 3 | * Added overloaded setter `RelyingPartyBuilder.origins(Optional<Set<String>>)`. |
4 | 4 | * Added support for the CTAP2 `credProtect` extension. |
5 | 5 | * 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. |
35 | 6 | * (Experimental) Added option `FinishRegistrationOptions.isConditionalCreate` to |
36 | 7 | allow UP=0 in registration response for registration ceremonies with |
37 | 8 | `mediation: "conditional"`. |
|
0 commit comments