Skip to content

Commit 5fd272d

Browse files
committed
Describe what interface implementations are used in the demo app
1 parent e730858 commit 5fd272d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

webauthn-server-demo/README

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,24 @@ notable integration points are:
7272
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/2.5.0/com/yubico/webauthn/CredentialRepository.html[`CredentialRepository`]
7373
interface to use for looking up stored public keys, user handles and signature
7474
counters.
75+
The example app does this via the
76+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java[`InMemoryRegistrationStorage`]
77+
class.
7578
** The library user can optionally provide an instance of the
7679
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/2.5.0/com/yubico/webauthn/attestation/AttestationTrustSource.html[`AttestationTrustSource`]
7780
interface to enable identification and validation of authenticator models. This
7881
instance is then used to look up trusted attestation root certificates. The
7982
link:../webauthn-server-attestation/[`webauthn-server-attestation`]
8083
sibling library provides an implementation of this interface that integrates
8184
with the https://fidoalliance.org/metadata/[FIDO Metadata Service].
85+
+
86+
For this the example app uses the
87+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/com/yubico/webauthn/attestation/YubicoJsonMetadataService.java[`YubicoJsonMetadataService`]
88+
class, which reads attestation data from a bundled JSON file. If enabled by
89+
configuration, this is also combined with the
90+
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-attestation/2.5.0/com/yubico/fido/metadata/FidoMetadataService.html[`FidoMetadataService`]
91+
implementation from the
92+
link:../webauthn-server-attestation/[`webauthn-server-attestation`] module.
8293

8394

8495
== Usage

0 commit comments

Comments
 (0)