Delegate AsyncAuthInterceptor
Asynchronous authentication interceptor for CallCredentials.
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public delegate Task AsyncAuthInterceptor(AuthInterceptorContext context, Metadata metadata);
Parameters
Type | Name | Description |
---|---|---|
AuthInterceptorContext | context | The interceptor context. |
Metadata | metadata | Metadata to populate with entries that will be added to outgoing call's headers. |
Returns
Type | Description |
---|---|
Task |