Class AuthInterceptorContext (2.63.0)

 public class AuthInterceptorContext 

Context for an RPC being intercepted by AsyncAuthInterceptor .

Inheritance

object > AuthInterceptorContext

Namespace

Grpc.Core

Assembly

Grpc.Core.Api.dll

Constructors

AuthInterceptorContext(string, string)

 public AuthInterceptorContext(string serviceUrl, string methodName) 

Initializes a new instance of AuthInterceptorContext .

Parameters
Name
Description
serviceUrl
methodName

AuthInterceptorContext(string, string, CancellationToken)

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

Initializes a new instance of AuthInterceptorContext .

Parameters
Name
Description
serviceUrl
methodName
cancellationToken

Properties

CancellationToken

 public CancellationToken CancellationToken { get; } 

The cancellation token of the RPC being called.

Property Value
Type
Description

MethodName

 public string MethodName { get; } 

The method name of the RPC being called.

Property Value
Type
Description

ServiceUrl

 public string ServiceUrl { get; } 

The fully qualified service URL for the RPC being called.

Property Value
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: