[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003eAuthInterceptorContext\u003c/code\u003e is a class used as the context for an RPC that is being intercepted by \u003ccode\u003eAsyncAuthInterceptor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, including methods like \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuthInterceptorContext\u003c/code\u003e can be initialized with the service URL and method name, and optionally with a cancellation token.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties to access the \u003ccode\u003eCancellationToken\u003c/code\u003e, \u003ccode\u003eMethodName\u003c/code\u003e, and \u003ccode\u003eServiceUrl\u003c/code\u003e of the RPC being called.\u003c/p\u003e\n"]]],[],null,["# Class AuthInterceptorContext (2.66.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.66.0 (latest)](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AuthInterceptorContext)\n- [2.63.0](/dotnet/docs/reference/Grpc.Core/2.63.0/Grpc.Core.AuthInterceptorContext)\n- [2.48.0](/dotnet/docs/reference/Grpc.Core/2.48.0/Grpc.Core.AuthInterceptorContext) \n\n public class AuthInterceptorContext\n\nContext for an RPC being intercepted by [AsyncAuthInterceptor](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncAuthInterceptor). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AuthInterceptorContext \n\nInherited Members\n-----------------\n\n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) \n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grpc.Core](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core)\n\nAssembly\n--------\n\nGrpc.Core.Api.dll\n\nConstructors\n------------\n\n### AuthInterceptorContext(string, string)\n\n public AuthInterceptorContext(string serviceUrl, string methodName)\n\nInitializes a new instance of `AuthInterceptorContext`.\n\n### AuthInterceptorContext(string, string, CancellationToken)\n\n public AuthInterceptorContext(string serviceUrl, string methodName, CancellationToken cancellationToken)\n\nInitializes a new instance of `AuthInterceptorContext`.\n\nProperties\n----------\n\n### CancellationToken\n\n public CancellationToken CancellationToken { get; }\n\nThe cancellation token of the RPC being called.\n\n### MethodName\n\n public string MethodName { get; }\n\nThe method name of the RPC being called.\n\n### ServiceUrl\n\n public string ServiceUrl { get; }\n\nThe fully qualified service URL for the RPC being called."]]