Repository navigation
gRPC e-book Chapter 6 - #14307
Merged
Merged
gRPC e-book Chapter 6#14307
Conversation
removed en-us from links
… grpc-ebook-chapter6
Contributor
Author
|
Ready for review. cc @glennc @saurabh500 @mconnew @JamesNK @JunTaoLuo @mairaw |
shirhatti
reviewed
Sep 18, 2019
JamesNK
reviewed
Sep 18, 2019
mconnew
reviewed
Sep 19, 2019
mconnew
reviewed
Sep 19, 2019
mconnew
reviewed
Sep 19, 2019
mairaw
reviewed
Sep 19, 2019
mairaw
left a comment
Contributor
There was a problem hiding this comment.
Copy edit is done. Left just one more comment.
mairaw
reviewed
Sep 19, 2019
JamesNK
approved these changes
Sep 20, 2019
|
|
||
| ## JWT Bearer tokens | ||
|
|
||
| The [JSON Web Token](https://jwt.io) standard provides a way to encode information about a user and their claims in an encoded string, and to sign that token in such a way that the consumer can verify the integrity of the token using public key cryptography. You can use various services, such as IdentityServer4, to authenticate users and generate OpenID Connect (OIDC) tokens to use with gRPC and HTTP APIs. |
|
|
||
| // Display portfolio | ||
| } | ||
| ``` |
Member
There was a problem hiding this comment.
IMO add a tip that Grpc.Core.CallCredentials can be configured on a channel to centralize setting authentication metadata on calls.
Member
There was a problem hiding this comment.
I see you show CallCredentials in other places. I still think a tip would be useful here for devs who don't read from beginning to end.
|
|
||
| gRPC leaves secure networking to the underlying HTTP/2 protocol, which can be secured using regular TLS certificates. | ||
|
|
||
| Web browsers insist on using TLS connections for HTTP/2, but most programmatic clients, including .NET's `HttpClient`, can use HTTP/2 over unencrypted connections. `HttpClient` *does* require encryption by default, but you can override this using an <xref:System.AppContext> switch. |
Member
There was a problem hiding this comment.
Mention that this switch must be set before the HttpClient/HttpClientHandler (or GrpcChannel if no HttpClient is explicitly specified) is created.
mconnew
approved these changes
Sep 20, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Authentication, authorization and security