Skip to content

Commit 736226e

Browse files
committed
Fix copy-paste errors in CredentialRepositoryV2 JavaDoc
1 parent e4e7ff4 commit 736226e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* An abstraction of database lookups needed by this library.
3434
*
35-
* <p>This is used by {@link RelyingParty} to look up credentials and credential IDs.
35+
* <p>This is used by {@link RelyingPartyV2} to look up credentials and credential IDs.
3636
*
3737
* <p>Unlike {@link CredentialRepository}, this interface does not require support for usernames.
3838
*
@@ -61,13 +61,13 @@ public interface CredentialRepositoryV2<C extends CredentialRecord> {
6161
* Look up the public key, backup flags and current signature count for the given credential
6262
* registered to the given user.
6363
*
64-
* <p>The returned {@link RegisteredCredential} is not expected to be long-lived. It may be read
64+
* <p>The returned {@link CredentialRecord} is not expected to be long-lived. It may be read
6565
* directly from a database or assembled from other components.
6666
*
67-
* @return a {@link RegisteredCredential} describing the current state of the registered
68-
* credential with credential ID <code>credentialId</code>, if any. If the credential does not
69-
* exist or is registered to a different user handle than <code>userHandle</code>, return
70-
* {@link Optional#empty()}.
67+
* @return a {@link CredentialRecord} describing the current state of the registered credential
68+
* with credential ID <code>credentialId</code>, if any. If the credential does not exist or
69+
* is registered to a different user handle than <code>userHandle</code>, return {@link
70+
* Optional#empty()}.
7171
* @deprecated EXPERIMENTAL: This is an experimental feature. It is likely to change or be deleted
7272
* before reaching a mature release.
7373
*/

0 commit comments

Comments
 (0)