Delegate AsyncAuthInterceptor (2.48.0)

public delegate Task AsyncAuthInterceptor(AuthInterceptorContext context, Metadata metadata);

Asynchronous authentication interceptor for CallCredentials.

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Parameters

NameDescription
contextAuthInterceptorContext

The interceptor context.

metadataMetadata

Metadata to populate with entries that will be added to outgoing call's headers.

Returns

TypeDescription
Task