Home
last modified time | relevance | path

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

/third_party/grpc/src/csharp/Grpc.Core/Internal/
DDefaultCallCredentialsConfigurator.cs30 CallCredentialsSafeHandle nativeCredentials; field in Grpc.Core.Internal.DefaultCallCredentialsConfigurator
32 public CallCredentialsSafeHandle NativeCredentials => nativeCredentials;
36 GrpcPreconditions.CheckState(nativeCredentials == null); in SetAsyncAuthInterceptorCredentials()
39 nativeCredentials = plugin.Credentials; in SetAsyncAuthInterceptorCredentials()
44 GrpcPreconditions.CheckState(nativeCredentials == null); in SetCompositeCredentials()
47 nativeCredentials = CompositeToNativeRecursive(credentials, 0); in SetCompositeCredentials()
DDefaultChannelCredentialsConfigurator.cs43 ChannelCredentialsSafeHandle nativeCredentials; field in Grpc.Core.Internal.DefaultChannelCredentialsConfigurator
45 public ChannelCredentialsSafeHandle NativeCredentials => nativeCredentials;
52 nativeCredentials = null; in SetInsecureCredentials()
59 nativeCredentials = GetOrCreateNativeCredentials((ChannelCredentials) state, in SetSslCredentials()
67 nativeCredentials = GetOrCreateNativeCredentials((ChannelCredentials) state, in SetCompositeCredentials()
DAsyncCall.cs504 … using (var nativeCredentials = credentials != null ? credentials.ToNativeCredentials() : null) in CreateNativeCall()
508 …ls.Method, details.Host, Timespec.FromDateTime(details.Options.Deadline.Value), nativeCredentials); in CreateNativeCall()
/third_party/grpc/src/csharp/Grpc.Core/
DChannel.cs75 var nativeCredentials = credentials.ToNativeCredentials(); in Channel()
76 if (nativeCredentials != null) in Channel()
78 … this.handle = ChannelSafeHandle.CreateSecure(nativeCredentials, target, nativeChannelArgs); in Channel()
DServer.cs287 using (var nativeCredentials = serverPort.Credentials.ToNativeCredentials()) in AddPortInternal()
289 if (nativeCredentials != null) in AddPortInternal()
291 boundPort = handle.AddSecurePort(address, nativeCredentials); in AddPortInternal()