Hi,

I'd like to use a C# interceptor to transparently refresh an access token, 
similar to the System.Net.Http.DelegatingHandler 
here: 
https://github.com/IdentityModel/IdentityModel.OidcClient2/blob/v3/src/RefreshTokenDelegatingHandler.cs

My question is: is it possible to set a header in the call metadata using 
the server streaming call interceptor?

I also see the metadata interceptor, but this doesn't have the 
continuation, so I can't try and retry if I get a 401 unauthorized.

public static CallInvoker Intercept(this CallInvoker invoker, Func<Metadata, 
Metadata> interceptor)


TIA,
Mark

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/2c3e69b5-eea7-4e60-ba8d-01bfaec55aba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to