/third_party/grpc/include/grpcpp/security/ |
D | credentials_impl.h | 41 class CallCredentials; variable 72 const std::shared_ptr<CallCredentials>& call_creds); 109 class CallCredentials : private grpc::GrpcLibraryCodegen { 111 CallCredentials(); 112 ~CallCredentials(); 123 const std::shared_ptr<CallCredentials>& call_creds); 125 friend std::shared_ptr<CallCredentials> CompositeCallCredentials( 126 const std::shared_ptr<CallCredentials>& creds1, 127 const std::shared_ptr<CallCredentials>& creds2); 174 std::shared_ptr<CallCredentials> GoogleComputeEngineCredentials(); [all …]
|
D | credentials.h | 39 class CallCredentials; variable 77 const std::shared_ptr<CallCredentials>& call_creds); 126 class CallCredentials : private grpc::GrpcLibraryCodegen { 128 CallCredentials(); 129 ~CallCredentials() override; 140 const std::shared_ptr<CallCredentials>& call_creds); 142 friend std::shared_ptr<CallCredentials> CompositeCallCredentials( 143 const std::shared_ptr<CallCredentials>& creds1, 144 const std::shared_ptr<CallCredentials>& creds2); 191 std::shared_ptr<CallCredentials> GoogleComputeEngineCredentials(); [all …]
|
/third_party/grpc/src/csharp/Grpc.Core.Api/ |
D | CallCredentials.cs | 30 public abstract class CallCredentials class 38 public static CallCredentials Compose(params CallCredentials[] credentials) in Compose() 48 public static CallCredentials FromInterceptor(AsyncAuthInterceptor interceptor) in FromInterceptor() 59 private class CompositeCallCredentials : CallCredentials 61 readonly IReadOnlyList<CallCredentials> credentials; 63 public CompositeCallCredentials(CallCredentials[] credentials) in CompositeCallCredentials() 66 this.credentials = new List<CallCredentials>(credentials).AsReadOnly(); in CompositeCallCredentials() 75 private class AsyncAuthInterceptorCredentials : CallCredentials
|
D | CallOptions.cs | 36 CallCredentials credentials; 49 …riteOptions = null, ContextPropagationToken propagationToken = null, CallCredentials credentials =… in CallOptions() 109 public CallCredentials Credentials 197 public CallOptions WithCredentials(CallCredentials credentials) in WithCredentials()
|
D | ChannelCredentials.cs | 61 …tic ChannelCredentials Create(ChannelCredentials channelCredentials, CallCredentials callCredentia… in Create() 92 readonly CallCredentials callCredentials; 100 …c CompositeChannelCredentials(ChannelCredentials channelCredentials, CallCredentials callCredentia… in CompositeChannelCredentials()
|
/third_party/grpc/src/ruby/spec/ |
D | call_credentials_spec.rb | 18 CallCredentials = GRPC::Core::CallCredentials constant 24 expect { CallCredentials.new(auth_proc) }.not_to raise_error 30 creds1 = CallCredentials.new(auth_proc) 31 creds2 = CallCredentials.new(auth_proc) 36 creds1 = CallCredentials.new(auth_proc) 37 creds2 = CallCredentials.new(auth_proc) 38 creds3 = CallCredentials.new(auth_proc)
|
D | channel_credentials_spec.rb | 19 CallCredentials = GRPC::Core::CallCredentials constant 70 call_creds = CallCredentials.new auth_proc 78 call_creds1 = CallCredentials.new auth_proc 79 call_creds2 = CallCredentials.new auth_proc
|
/third_party/grpc/test/cpp/util/ |
D | create_test_channel.h | 52 const std::shared_ptr<CallCredentials>& creds); 57 const std::shared_ptr<CallCredentials>& creds, 63 const std::shared_ptr<CallCredentials>& creds, 68 const std::shared_ptr<CallCredentials>& creds); 73 const std::shared_ptr<CallCredentials>& creds, 81 const std::shared_ptr<CallCredentials>& creds, const ChannelArguments& args, 89 const std::shared_ptr<CallCredentials>& creds, const ChannelArguments& args, 96 const std::shared_ptr<CallCredentials>& creds,
|
D | create_test_channel.cc | 91 const std::shared_ptr<CallCredentials>& creds, in CreateTestChannel() 101 const std::shared_ptr<CallCredentials>& creds, in CreateTestChannel() 111 const std::shared_ptr<CallCredentials>& creds) { in CreateTestChannel() 120 use_prod_roots, std::shared_ptr<CallCredentials>()); in CreateTestChannel() 131 const std::shared_ptr<CallCredentials>& creds) { in CreateTestChannel() 147 const std::shared_ptr<CallCredentials>& creds, const ChannelArguments& args, in CreateTestChannel() 207 const std::shared_ptr<CallCredentials>& creds, const ChannelArguments& args, in CreateTestChannel() 224 const std::shared_ptr<CallCredentials>& creds, in CreateTestChannel() 235 const std::shared_ptr<CallCredentials>& creds, in CreateTestChannel()
|
D | cli_credentials.cc | 163 std::shared_ptr<grpc::CallCredentials> CliCredentials::GetCallCredentials() in GetCallCredentials() 170 return std::shared_ptr<grpc::CallCredentials>(); in GetCallCredentials() 176 return std::shared_ptr<grpc::CallCredentials>(); in GetCallCredentials() 213 std::shared_ptr<grpc::CallCredentials> call_creds = GetCallCredentials(); in GetCredentials()
|
/third_party/grpc/src/cpp/client/ |
D | credentials_cc.cc | 29 CallCredentials::CallCredentials() { g_gli_initializer.summon(); } in CallCredentials() function in grpc::CallCredentials 31 CallCredentials::~CallCredentials() {} in ~CallCredentials()
|
D | secure_credentials.cc | 98 std::shared_ptr<CallCredentials> WrapCallCredentials( in WrapCallCredentials() 101 : std::shared_ptr<CallCredentials>( in WrapCallCredentials() 112 std::shared_ptr<CallCredentials> ExternalAccountCredentials( in ExternalAccountCredentials() 262 std::shared_ptr<CallCredentials> StsCredentials( in StsCredentials() 268 std::shared_ptr<CallCredentials> MetadataCredentialsFromPlugin( in MetadataCredentialsFromPlugin() 315 std::shared_ptr<CallCredentials> GoogleComputeEngineCredentials() { in GoogleComputeEngineCredentials() 322 std::shared_ptr<CallCredentials> ServiceAccountJWTAccessCredentials( in ServiceAccountJWTAccessCredentials() 337 std::shared_ptr<CallCredentials> GoogleRefreshTokenCredentials( in GoogleRefreshTokenCredentials() 345 std::shared_ptr<CallCredentials> AccessTokenCredentials( in AccessTokenCredentials() 353 std::shared_ptr<CallCredentials> GoogleIAMCredentials( in GoogleIAMCredentials() [all …]
|
/third_party/grpc/src/csharp/Grpc.IntegrationTesting/ |
D | MetadataCredentialsTest.cs | 84 CallCredentials.FromInterceptor(asyncAuthInterceptor)); in MetadataCredentials_Channel() 110 var callCredentials = CallCredentials.FromInterceptor(asyncAuthInterceptor); in MetadataCredentials_PerCall() 129 …var channelCallCredentials = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, me… in MetadataCredentials_BothChannelAndPerCall() 134 …var perCallCredentials = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metada… in MetadataCredentials_BothChannelAndPerCall() 161 … var first = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_Composed() 166 … var second = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_Composed() 170 … var third = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_Composed() 175 CallCredentials.Compose(first, second, third)); in MetadataCredentials_Composed() 197 … var first = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_ComposedPerCall() 201 … var second = CallCredentials.FromInterceptor(new AsyncAuthInterceptor((context, metadata) => { in MetadataCredentials_ComposedPerCall() [all …]
|
/third_party/grpc/src/csharp/Grpc.Core.Tests/ |
D | CallCredentialsTest.cs | 36 …Assert.Throws(typeof(ArgumentException), () => CallCredentials.Compose(new FakeCallCredentials())); in CallCredentials_ComposeAtLeastTwo() 42 var composite = CallCredentials.Compose( in CallCredentials_ToNativeCredentials() 43 CallCredentials.FromInterceptor(async (uri, m) => { await Task.Delay(1); }), in CallCredentials_ToNativeCredentials() 44 CallCredentials.FromInterceptor(async (uri, m) => { await Task.Delay(2); })); in CallCredentials_ToNativeCredentials()
|
/third_party/grpc/src/csharp/Grpc.Auth/ |
D | GoogleGrpcCredentials.cs | 53 public static CallCredentials FromAccessToken(string accessToken) in FromAccessToken() 55 … return CallCredentials.FromInterceptor(GoogleAuthInterceptors.FromAccessToken(accessToken)); in FromAccessToken() 64 public static CallCredentials ToCallCredentials(this ITokenAccess credential) in ToCallCredentials() 66 … return CallCredentials.FromInterceptor(GoogleAuthInterceptors.FromCredential(credential)); in ToCallCredentials()
|
/third_party/grpc/src/php/tests/unit_tests/ |
D | CallCredentialsTest.php | 26 $this->call_credentials = Grpc\CallCredentials::createFromPlugin( 131 $call_credentials2 = Grpc\CallCredentials::createFromPlugin( 133 $call_credentials3 = Grpc\CallCredentials::createComposite( 144 $call_credentials = Grpc\CallCredentials::createFromPlugin( 152 $call_credentials3 = Grpc\CallCredentials::createComposite(
|
/third_party/grpc/examples/python/auth/ |
D | README.md | 66 `CallCredentials` object. Please NOTE that it is possible to pass a Python 73 """Construct CallCredentials from an AuthMetadataPlugin. 80 A CallCredentials. 84 The `CallCredentials` object can be passed directly into an RPC like: 91 Or you can use `ChannelCredentials` and `CallCredentials` at the same time by 103 It is also possible to apply multiple `CallCredentials` to a single RPC:
|
/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | DefaultCallCredentialsConfigurator.cs | 42 …public override void SetCompositeCredentials(object state, IReadOnlyList<CallCredentials> credenti… in SetCompositeCredentials() 52 …private CallCredentialsSafeHandle CompositeToNativeRecursive(IReadOnlyList<CallCredentials> creden… in CompositeToNativeRecursive() 78 … public static CallCredentialsSafeHandle ToNativeCredentials(this CallCredentials credentials) in ToNativeCredentials()
|
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _base_channel.py | 36 credentials: Optional[grpc.CallCredentials] = None, argument 74 credentials: Optional[grpc.CallCredentials] = None, argument 111 credentials: Optional[grpc.CallCredentials] = None, argument 149 credentials: Optional[grpc.CallCredentials] = None, argument
|
/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _base_channel.py | 37 credentials: Optional[grpc.CallCredentials] = None, argument 76 credentials: Optional[grpc.CallCredentials] = None, argument 114 credentials: Optional[grpc.CallCredentials] = None, argument 153 credentials: Optional[grpc.CallCredentials] = None, argument
|
/third_party/grpc/src/php/ext/grpc/ |
D | call_credentials.c | 73 PHP_METHOD(CallCredentials, createComposite) { in PHP_METHOD() argument 102 PHP_METHOD(CallCredentials, createFromPlugin) { in PHP_METHOD() argument 238 PHP_ME(CallCredentials, createComposite, arginfo_createComposite, 240 PHP_ME(CallCredentials, createFromPlugin, arginfo_createFromPlugin,
|
/third_party/grpc/src/python/grpcio_tests/tests/unit/beta/ |
D | _implementations_test.py | 47 self.assertIsInstance(call_creds, implementations.CallCredentials) 51 self.assertIsInstance(call_creds, implementations.CallCredentials)
|
/third_party/grpc/src/php/lib/Grpc/ |
D | AbstractCall.php | 68 $call_credentials = CallCredentials::createFromPlugin( 141 * @param CallCredentials $call_credentials The CallCredentials object
|
/third_party/grpc/src/python/grpcio_tests/tests/unit/ |
D | _credentials_test.py | 34 self.assertIsInstance(first_and_second, grpc.CallCredentials) 35 self.assertIsInstance(first_second_and_third, grpc.CallCredentials)
|
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/ |
D | credentials.pxd.pxi | 16 cdef class CallCredentials: class 34 cdef class MetadataPluginCallCredentials(CallCredentials): 45 cdef class CompositeCallCredentials(CallCredentials):
|