Searched refs:AsyncAuthInterceptor (Results 1 – 5 of 5) sorted by relevance
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | MetadataCredentialsTest.cs | 39 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/ |
D | GoogleAuthInterceptors.cs | 44 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/ |
D | CallCredentials.cs | 49 public static CallCredentials FromInterceptor(AsyncAuthInterceptor interceptor) in FromInterceptor() 67 readonly AsyncAuthInterceptor interceptor; 73 public MetadataCredentials(AsyncAuthInterceptor interceptor) in MetadataCredentials()
|
D | AsyncAuthInterceptor.cs | 34 public delegate Task AsyncAuthInterceptor(AuthInterceptorContext context, Metadata metadata); in AsyncAuthInterceptor() method
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | NativeMetadataCredentialsPlugin.cs | 35 AsyncAuthInterceptor interceptor; 40 public NativeMetadataCredentialsPlugin(AsyncAuthInterceptor interceptor) in NativeMetadataCredentialsPlugin()
|