<PackageReference Include="Grpc.Core.Api" Version="2.76.0" />

Grpc.Core.AuthInterceptorContext

public class AuthInterceptorContext
Context for an RPC being intercepted by AsyncAuthInterceptor.

The cancellation token of the RPC being called.

public string MethodName { get; }

The method name of the RPC being called.

public string ServiceUrl { get; }

The fully qualified service URL for the RPC being called.

public AuthInterceptorContext(string serviceUrl, string methodName)

Initializes a new instance of AuthInterceptorContext.

public AuthInterceptorContext(string serviceUrl, string methodName, CancellationToken cancellationToken)

Initializes a new instance of AuthInterceptorContext.