Home
last modified time | relevance | path

Searched refs:AsyncAuthInterceptor (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMetadataCredentialsTest.cs39 AsyncAuthInterceptor asyncAuthInterceptor;
57 asyncAuthInterceptor = new AsyncAuthInterceptor(async (context, metadata) => in Init()
95 … var first = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_Composed()
100 … var second = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_Composed()
104 … var third = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_Composed()
122 … var first = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_ComposedPerCall()
126 … var second = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_ComposedPerCall()
130 … var third = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_ComposedPerCall()
144 …CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => TaskUtils.Complete… in MetadataCredentials_InterceptorLeavesMetadataEmpty()
157 …var callCredentials = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata)… in MetadataCredentials_InterceptorThrows()
/external/grpc-grpc/src/csharp/Grpc.Auth/
DGoogleAuthInterceptors.cs44 public static AsyncAuthInterceptor FromCredential(ITokenAccess credential) in FromCredential()
46 return new AsyncAuthInterceptor(async (context, metadata) => in FromCredential()
58 public static AsyncAuthInterceptor FromAccessToken(string accessToken) in FromAccessToken()
61 return new AsyncAuthInterceptor((context, metadata) => in FromAccessToken()
/external/grpc-grpc/src/csharp/Grpc.Core/
DCallCredentials.cs49 public static CallCredentials FromInterceptor(AsyncAuthInterceptor interceptor) in FromInterceptor()
67 readonly AsyncAuthInterceptor interceptor;
73 public MetadataCredentials(AsyncAuthInterceptor interceptor) in MetadataCredentials()
DAsyncAuthInterceptor.cs34 public delegate Task AsyncAuthInterceptor(AuthInterceptorContext context, Metadata metadata); in AsyncAuthInterceptor() method
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DNativeMetadataCredentialsPlugin.cs35 AsyncAuthInterceptor interceptor;
40 public NativeMetadataCredentialsPlugin(AsyncAuthInterceptor interceptor) in NativeMetadataCredentialsPlugin()