|
GRPC C++
1.23.0
|
Data Structures | |
| struct | AltsCredentialsOptions |
| Options used to build AltsCredentials. More... | |
| struct | AltsServerCredentialsOptions |
| Options to create ServerCredentials with ALTS. More... | |
| class | ClientBidiReactor |
| ClientBidiReactor is the interface for a bidirectional streaming RPC. More... | |
| class | ClientCallbackReader |
| class | ClientCallbackReaderWriter |
| class | ClientCallbackUnary |
| class | ClientCallbackWriter |
| class | ClientReadReactor |
| ClientReadReactor is the interface for a server-streaming RPC. More... | |
| class | ClientUnaryReactor |
| ClientUnaryReactor is a reactor-style interface for a unary RPC. More... | |
| class | ClientWriteReactor |
| ClientWriteReactor is the interface for a client-streaming RPC. More... | |
| class | ServerBidiReactor |
| ServerBidiReactor is the interface for a bidirectional streaming RPC. More... | |
| class | ServerCallbackReader |
| class | ServerCallbackReaderWriter |
| class | ServerCallbackRpcController |
| class | ServerCallbackWriter |
| class | ServerReadReactor |
| ServerReadReactor is the interface for a client-streaming RPC. More... | |
| class | ServerWriteReactor |
| ServerWriteReactor is the interface for a server-streaming RPC. More... | |
| struct | StsCredentialsOptions |
| Options for creating STS Oauth Token Exchange credentials following the IETF draft https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16. More... | |
Functions | |
| void | ChannelResetConnectionBackoff (Channel *channel) |
| Resets the channel's connection backoff. More... | |
| std::shared_ptr<::grpc::Channel > | CreateCustomChannelWithInterceptors (const grpc::string &target, const std::shared_ptr< grpc::ChannelCredentials > &creds, const ::grpc::ChannelArguments &args, std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
| Create a new custom Channel pointing to target with interceptors being invoked per call. More... | |
| std::shared_ptr< Channel > | CreateCustomChannelWithInterceptors (const grpc::string &target, const std::shared_ptr< ChannelCredentials > &creds, const ChannelArguments &args, std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> interceptor_creators) |
| grpc::Status | StsCredentialsOptionsFromJson (const grpc::string &json_string, StsCredentialsOptions *options) |
| Creates STS Options from a JSON string. More... | |
| grpc::Status | StsCredentialsOptionsFromEnv (StsCredentialsOptions *options) |
| Creates STS credentials options from the $STS_CREDENTIALS environment variable. More... | |
| std::shared_ptr< CallCredentials > | StsCredentials (const StsCredentialsOptions &options) |
| std::shared_ptr< ChannelCredentials > | AltsCredentials (const AltsCredentialsOptions &options) |
| Builds ALTS Credentials given ALTS specific options. More... | |
| std::shared_ptr< ChannelCredentials > | LocalCredentials (grpc_local_connect_type type) |
| Builds Local Credentials. More... | |
| std::shared_ptr< ServerCredentials > | AltsServerCredentials (const AltsServerCredentialsOptions &options) |
| Builds ALTS ServerCredentials given ALTS specific options. More... | |
| std::shared_ptr< ServerCredentials > | LocalServerCredentials (grpc_local_connect_type type) |
| Builds Local ServerCredentials. More... | |
| std::shared_ptr<ChannelCredentials> grpc_impl::experimental::AltsCredentials | ( | const AltsCredentialsOptions & | options | ) |
Builds ALTS Credentials given ALTS specific options.
| std::shared_ptr<ServerCredentials> grpc_impl::experimental::AltsServerCredentials | ( | const AltsServerCredentialsOptions & | options | ) |
Builds ALTS ServerCredentials given ALTS specific options.
| void grpc_impl::experimental::ChannelResetConnectionBackoff | ( | Channel * | channel | ) |
Resets the channel's connection backoff.
TODO(roth): Once we see whether this proves useful, either create a gRFC and change this to be a method of the Channel class, or remove it.
| std::shared_ptr<Channel> grpc_impl::experimental::CreateCustomChannelWithInterceptors | ( | const grpc::string & | target, |
| const std::shared_ptr< ChannelCredentials > & | creds, | ||
| const ChannelArguments & | args, | ||
| std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
| ) |
| std::shared_ptr<::grpc::Channel> grpc_impl::experimental::CreateCustomChannelWithInterceptors | ( | const grpc::string & | target, |
| const std::shared_ptr< grpc::ChannelCredentials > & | creds, | ||
| const ::grpc::ChannelArguments & | args, | ||
| std::vector< std::unique_ptr< grpc::experimental::ClientInterceptorFactoryInterface >> | interceptor_creators | ||
| ) |
Create a new custom Channel pointing to target with interceptors being invoked per call.
| target | The URI of the endpoint to connect to. |
| creds | Credentials to use for the created channel. If it does not hold an object or is invalid, a lame channel (one on which all operations fail) is returned. |
| args | Options for channel creation. |
| std::shared_ptr<ChannelCredentials> grpc_impl::experimental::LocalCredentials | ( | grpc_local_connect_type | type | ) |
Builds Local Credentials.
| std::shared_ptr<ServerCredentials> grpc_impl::experimental::LocalServerCredentials | ( | grpc_local_connect_type | type | ) |
Builds Local ServerCredentials.
| std::shared_ptr<CallCredentials> grpc_impl::experimental::StsCredentials | ( | const StsCredentialsOptions & | options | ) |
| grpc::Status grpc_impl::experimental::StsCredentialsOptionsFromEnv | ( | StsCredentialsOptions * | options | ) |
Creates STS credentials options from the $STS_CREDENTIALS environment variable.
This environment variable points to the path of a JSON file comforming to the schema described above.
| grpc::Status grpc_impl::experimental::StsCredentialsOptionsFromJson | ( | const grpc::string & | json_string, |
| StsCredentialsOptions * | options | ||
| ) |
Creates STS Options from a JSON string.
The JSON schema is as follows: { "title": "STS Credentials Config", "type": "object", "required": ["token_exchange_service_uri", "subject_token_path", "subject_token_type"], "properties": { "token_exchange_service_uri": { "type": "string" }, "resource": { "type": "string" }, "audience": { "type": "string" }, "scope": { "type": "string" }, "requested_token_type": { "type": "string" }, "subject_token_path": { "type": "string" }, "subject_token_type": { "type": "string" }, "actor_token_path" : { "type": "string" }, "actor_token_type": { "type": "string" } } }
1.8.13