Documentation for Credentials
See original GitHub issueWe would like to be able to pass in CallCredentials to Grpc-web requests. I see that the Client objects support taking a credentials argument:
` /**
- @private @const {?Object} The credentials to be used to connect
- to the server */ this.credentials_ = credentials;`
But I don’t see that this is used anywhere. We’re looking to add in a metadata Authorization token automatically on every request for example.
What is the proper way to implement this?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:13
Top Results From Across the Web
Credentials Document: What to Consider and What to Include
A credentials document is a valuable tool in highlighting your businesses unique selling points (USPs) to the potential client or customer so ...
Read more >Credential - Wikipedia
A credential is a piece of any document that details a qualification, competence, or authority issued to an individual by a third party...
Read more >LIST OF CREDENTIALS AND DOCUMENTS REQUIRED FOR ...
Copy of Preliminary School Nurse Credential • Form CL-41 EXP Verification of Experience form, signed by Human Resources personnel, verifying two years ...
Read more >Request.credentials - Web APIs | MDN
The credentials read-only property of the Request interface indicates whether the user agent should send or receive cookies from the other ...
Read more >Credentials, Documents and Reports - dco.uscg.mil
CREDENTIALS, DOCUMENTS AND REPORTS ... Documentation. A Certificate of Documentation (COD) is valid for one ... Oil Pollution Prevention Records/Documents.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Allowing sending cookies is tracked at #176 But yes, an even better design is Interceptor support, which is tracked at #283. Both are very much in our radar.
Automatically attaching a header on outgoing requests is a typical use of a gRPC client interceptor (like http middleware). I think interceptor support would help solve this issue.