You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -522,7 +522,7 @@ final Authentication auth = GrpcSecurity.AUTHENTICATION_CONTEXT_KEY.get();
522
522
523
523
By adding `io.github.lognet:grpc-client-spring-boot-starter` dependency to your *java grpc client* application you can easily configure per-channel or per-call credentials :
524
524
525
-
* Per-channel:
525
+
Per-channel::
526
526
+
527
527
[source,java]
528
528
----
@@ -549,7 +549,7 @@ class MyClient{
549
549
<2> Intercept channel
550
550
<3> Provide token generator function (Please refer to link:grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc/auth/JwtAuthBaseTest.java[for example].)
551
551
552
-
* Per-call:
552
+
Per-call::
553
553
+
554
554
[source,java]
555
555
----
@@ -571,9 +571,9 @@ class MyClient{
571
571
<1> Create call credentials with basic scheme
572
572
<2> Create service stub
573
573
<3> Attach call credentials to the call
574
-
574
+
+
575
575
`AuthHeader` could also be built with bespoke authorization scheme :
0 commit comments