File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
main/java/com/yubico/webauthn
test/java/com/yubico/webauthn
webauthn-server-demo/src/main/java/demo/webauthn Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ public class Step2 {
598
598
* credentialRepository} is a required parameter.
599
599
*
600
600
* @see RelyingPartyBuilder#credentialRepository(CredentialRepository)
601
- * @see #credentialRepository (CredentialRepositoryV2)
601
+ * @see #credentialRepositoryV2 (CredentialRepositoryV2)
602
602
*/
603
603
public RelyingPartyBuilder credentialRepository (CredentialRepository credentialRepository ) {
604
604
return builder .credentialRepository (credentialRepository );
@@ -611,7 +611,7 @@ public RelyingPartyBuilder credentialRepository(CredentialRepository credentialR
611
611
* @see #credentialRepository(CredentialRepository)
612
612
*/
613
613
public <C extends CredentialRecord >
614
- RelyingPartyV2 .RelyingPartyV2Builder <C > credentialRepository (
614
+ RelyingPartyV2 .RelyingPartyV2Builder <C > credentialRepositoryV2 (
615
615
CredentialRepositoryV2 <C > credentialRepository ) {
616
616
return RelyingPartyV2 .builder (builder .identity , credentialRepository );
617
617
}
Original file line number Diff line number Diff line change @@ -64,11 +64,9 @@ public TrustRootsResult findTrustRoots(
64
64
}
65
65
};
66
66
67
- CredentialRepository credentialRepository = null ;
68
-
69
67
RelyingParty .builder ()
70
68
.identity (null )
71
- .credentialRepository (credentialRepository )
69
+ .credentialRepository (null )
72
70
.origins (Collections .emptySet ())
73
71
.appId (new AppId ("https://example.com" ))
74
72
.appId (Optional .of (new AppId ("https://example.com" )))
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ public WebAuthnServer(
191
191
rp =
192
192
RelyingParty .builder ()
193
193
.identity (rpIdentity )
194
- .credentialRepository (this .userStorage )
194
+ .credentialRepositoryV2 (this .userStorage )
195
195
.usernameRepository (this .userStorage )
196
196
.origins (origins )
197
197
.attestationConveyancePreference (Optional .of (AttestationConveyancePreference .DIRECT ))
You can’t perform that action at this time.
0 commit comments