grpc_auth_context * grpc_auth_context_from_arg(const grpc_arg *arg)
void grpc_server_security_context_destroy(void *ctx)
grpc_server_security_context * grpc_server_security_context_create(grpc_core::Arena *arena)
const char * peer_identity_property_name_
void add_cstring_property(const char *name, const char *value)
grpc_arg grpc_auth_context_to_arg(grpc_auth_context *c)
static absl::string_view ChannelArgName()
grpc_security_context_extension extension
grpc_auth_context * grpc_find_auth_context_in_args(const grpc_channel_args *args)
grpc_core::DebugOnlyTraceFlag grpc_trace_auth_context_refcount
void set_peer_identity_property_name(const char *name)
const grpc_auth_property_array & properties() const
grpc_auth_property_array properties_
grpc_core::RefCountedPtr< grpc_call_credentials > creds
const grpc_auth_context * chained() const
~grpc_client_security_context()
void grpc_auth_property_reset(grpc_auth_property *property)
void grpc_client_security_context_destroy(void *ctx)
const char * peer_identity_property_name() const
grpc_core::RefCountedPtr< grpc_auth_context > auth_context
#define GRPC_AUTH_CONTEXT_ARG
grpc_server_security_context()=default
static int ChannelArgsCompare(const grpc_auth_context *a, const grpc_auth_context *b)
bool is_authenticated() const
void add_property(const char *name, const char *value, size_t value_length)
grpc_core::RefCountedPtr< grpc_auth_context > chained_
grpc_client_security_context * grpc_client_security_context_create(grpc_core::Arena *arena, grpc_call_credentials *creds)
grpc_security_context_extension extension
grpc_client_security_context(grpc_core::RefCountedPtr< grpc_call_credentials > creds)
~grpc_server_security_context()
grpc_auth_context(grpc_core::RefCountedPtr< grpc_auth_context > chained)
grpc_core::RefCountedPtr< grpc_auth_context > auth_context