Skip to content

Commit e27bd6f

Browse files
committed
Fix javadoc typos
1 parent 7c6fda7 commit e27bd6f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/security/CallCredentialsHelper.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
* </p>
5959
* <ul>
6060
* <li>{@link #basicAuth(String, String) Basic-Auth}</li>
61+
* <li>{@link #bearerAuth(Supplier) Bearer-Auth}</li>
62+
* <li>Other variants using static or dynamic headers</li>
6163
* <li>{@link #requirePrivacy(CallCredentials) Require privacy for the connection} (Wrapper)</li>
6264
* <li>{@link #includeWhenPrivate(CallCredentials) Include credentials only if connection is private} (Wrapper)</li>
6365
* </ul>
@@ -73,7 +75,7 @@
7375
* <pre>
7476
* <code>@Bean
7577
* CallCredentials myCallCredentials() {
76-
* return CallCredentialsHelper#basicAuth("user", "password")}
78+
* return CallCredentialsHelper.basicAuth("user", "password");
7779
* }</code>
7880
* </pre>
7981
*
@@ -85,7 +87,7 @@
8587
* <pre>
8688
* <code>@Bean
8789
* StubTransformer myCallCredentialsTransformer() {
88-
* return CallCredentialsHelper#mappedCredentialsStubTransformer(Map.of(
90+
* return CallCredentialsHelper.mappedCredentialsStubTransformer(Map.of(
8991
* "myService1", basicAuth("user1", "password1"),
9092
* "theService2", basicAuth("foo", "bar"),
9193
* "publicApi", null // No credentials needed
@@ -97,7 +99,7 @@
9799
* <li>If you need different CallCredentials for each call, then you have to define it in the method yourself.
98100
*
99101
* <pre>
100-
* <code>stub.withCallCredentials(CallCredentialsHelper#basicAuth("user", "password")).doStuff(request);</code>
102+
* <code>stub.withCallCredentials(CallCredentialsHelper.basicAuth("user", "password")).doStuff(request);</code>
101103
* </pre>
102104
*
103105
* </li>

0 commit comments

Comments
 (0)