TLS server authorization check arguments, wraps grpc_tls_server_authorization_check_arg.
More...
#include <tls_credentials_options.h>
TLS server authorization check arguments, wraps grpc_tls_server_authorization_check_arg.
It is used for experimental purposes for now and it is subject to change.
The server authorization check arg contains all the info necessary to schedule/cancel a server authorization check request. The callback function must be called after finishing the schedule operation. See the description of the grpc_tls_server_authorization_check_arg struct in grpc_security.h for more details.
◆ TlsServerAuthorizationCheckArg()
TlsServerAuthorizationCheckArg does not take ownership of the C arg passed to the constructor.
One must remember to free any memory allocated to the C arg after using the setter functions below.
◆ ~TlsServerAuthorizationCheckArg()
grpc_impl::experimental::TlsServerAuthorizationCheckArg::~TlsServerAuthorizationCheckArg |
( |
| ) |
|
◆ cb_user_data()
void* grpc_impl::experimental::TlsServerAuthorizationCheckArg::cb_user_data |
( |
| ) |
const |
Getters for member fields.
◆ error_details()
grpc::string grpc_impl::experimental::TlsServerAuthorizationCheckArg::error_details |
( |
| ) |
const |
◆ OnServerAuthorizationCheckDoneCallback()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::OnServerAuthorizationCheckDoneCallback |
( |
| ) |
|
Calls the C arg's callback function.
◆ peer_cert()
grpc::string grpc_impl::experimental::TlsServerAuthorizationCheckArg::peer_cert |
( |
| ) |
const |
◆ peer_cert_full_chain()
grpc::string grpc_impl::experimental::TlsServerAuthorizationCheckArg::peer_cert_full_chain |
( |
| ) |
const |
◆ set_cb_user_data()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_cb_user_data |
( |
void * |
cb_user_data | ) |
|
Setters for member fields.
◆ set_error_details()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_error_details |
( |
const grpc::string & |
error_details | ) |
|
◆ set_peer_cert()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_peer_cert |
( |
const grpc::string & |
peer_cert | ) |
|
◆ set_peer_cert_full_chain()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_peer_cert_full_chain |
( |
const grpc::string & |
peer_cert_full_chain | ) |
|
◆ set_status()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_status |
( |
grpc_status_code |
status | ) |
|
◆ set_success()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_success |
( |
int |
success | ) |
|
◆ set_target_name()
void grpc_impl::experimental::TlsServerAuthorizationCheckArg::set_target_name |
( |
const grpc::string & |
target_name | ) |
|
◆ status()
grpc_status_code grpc_impl::experimental::TlsServerAuthorizationCheckArg::status |
( |
| ) |
const |
◆ success()
int grpc_impl::experimental::TlsServerAuthorizationCheckArg::success |
( |
| ) |
const |
◆ target_name()
grpc::string grpc_impl::experimental::TlsServerAuthorizationCheckArg::target_name |
( |
| ) |
const |
The documentation for this class was generated from the following file: