Skip to content

Commit 7ac022c

Browse files
committed
Use absolute URLs to sources
1 parent 9d65a58 commit 7ac022c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

webauthn-server-demo/README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ one can perform auxiliary actions such as adding an additional authenticator or
77
deregistering a credential.
88

99
The central part is the
10-
link:src/main/java/demo/webauthn/WebAuthnServer.java[`WebAuthnServer`]
10+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/WebAuthnServer.java[`WebAuthnServer`]
1111
class, and the
12-
link:src/main/java/demo/webauthn/WebAuthnRestResource.java[`WebAuthnRestResource`]
12+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/WebAuthnRestResource.java[`WebAuthnRestResource`]
1313
class which provides the REST API on top of it.
1414

1515

@@ -32,21 +32,21 @@ link:../webauthn-server-core/[`webauthn-server-core`]
3232
library:
3333

3434
- The front end interacts with the server via a *REST API*, implemented in
35-
link:src/main/java/demo/webauthn/WebAuthnRestResource.java[`WebAuthnRestResource`].
35+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/WebAuthnRestResource.java[`WebAuthnRestResource`].
3636
+
3737
This layer manages translation between JSON request/response payloads and domain
3838
objects, and most methods simply call into analogous methods in the server
3939
layer.
4040

4141
- The REST API then delegates to the *server layer*, implemented in
42-
link:src/main/java/demo/webauthn/WebAuthnServer.java[`WebAuthnServer`].
42+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/WebAuthnServer.java[`WebAuthnServer`].
4343
+
4444
This layer manages the general architecture of the system, and is where most
4545
business logic and integration code would go. The demo server implements the
4646
"persistent" storage of users and credential registrations - the
4747
link:https://developers.yubico.com/java-webauthn-server/JavaDoc/webauthn-server-core/2.5.0/com/yubico/webauthn/CredentialRepository.html[`CredentialRepository`]
4848
integration point - as the
49-
link:src/main/java/demo/webauthn/InMemoryRegistrationStorage.java[`InMemoryRegistrationStorage`]
49+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/InMemoryRegistrationStorage.java[`InMemoryRegistrationStorage`]
5050
class, which simply keeps them stored in memory for a limited time. The
5151
transient storage of pending challenges is also kept in memory, but for a
5252
shorter duration.
@@ -103,7 +103,7 @@ To build it, run
103103
=== Standalone Java executable
104104

105105
The standalone Java executable has the main class
106-
link:src/main/java/demo/webauthn/EmbeddedServer.java[`demo.webauthn.EmbeddedServer`].
106+
link:https://github.com/Yubico/java-webauthn-server/blob/main/webauthn-server-demo/src/main/java/demo/webauthn/EmbeddedServer.java[`demo.webauthn.EmbeddedServer`].
107107
This server also serves the REST API at `/api/v1/`, and static resources for the
108108
GUI under `/`.
109109

0 commit comments

Comments
 (0)