Classes | Macros | Functions | Variables
security_context.h File Reference
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <utility>
#include "absl/strings/string_view.h"
#include <grpc/grpc_security.h>
#include <grpc/impl/codegen/grpc_types.h>
#include <grpc/support/alloc.h>
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/ref_counted.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/resource_quota/arena.h"
#include "src/core/lib/security/credentials/credentials.h"
Include dependency graph for security_context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  grpc_auth_context
 
struct  grpc_auth_property_array
 
struct  grpc_client_security_context
 
struct  grpc_security_context_extension
 
struct  grpc_server_security_context
 

Macros

#define GRPC_AUTH_CONTEXT_ARG   "grpc.auth_context"
 

Functions

grpc_auth_contextgrpc_auth_context_from_arg (const grpc_arg *arg)
 
grpc_arg grpc_auth_context_to_arg (grpc_auth_context *c)
 
void grpc_auth_property_reset (grpc_auth_property *property)
 
grpc_client_security_contextgrpc_client_security_context_create (grpc_core::Arena *arena, grpc_call_credentials *creds)
 
void grpc_client_security_context_destroy (void *ctx)
 
grpc_auth_contextgrpc_find_auth_context_in_args (const grpc_channel_args *args)
 
grpc_server_security_contextgrpc_server_security_context_create (grpc_core::Arena *arena)
 
void grpc_server_security_context_destroy (void *ctx)
 

Variables

grpc_core::DebugOnlyTraceFlag grpc_trace_auth_context_refcount
 

Macro Definition Documentation

◆ GRPC_AUTH_CONTEXT_ARG

#define GRPC_AUTH_CONTEXT_ARG   "grpc.auth_context"

Definition at line 58 of file security_context.h.

Function Documentation

◆ grpc_auth_context_from_arg()

grpc_auth_context* grpc_auth_context_from_arg ( const grpc_arg arg)

Definition at line 311 of file security_context.cc.

◆ grpc_auth_context_to_arg()

grpc_arg grpc_auth_context_to_arg ( grpc_auth_context c)

Definition at line 305 of file security_context.cc.

◆ grpc_auth_property_reset()

void grpc_auth_property_reset ( grpc_auth_property property)

Definition at line 277 of file security_context.cc.

◆ grpc_client_security_context_create()

grpc_client_security_context* grpc_client_security_context_create ( grpc_core::Arena arena,
grpc_call_credentials creds 
)

Definition at line 108 of file security_context.cc.

◆ grpc_client_security_context_destroy()

void grpc_client_security_context_destroy ( void *  ctx)

Definition at line 114 of file security_context.cc.

◆ grpc_find_auth_context_in_args()

grpc_auth_context* grpc_find_auth_context_in_args ( const grpc_channel_args args)

Definition at line 321 of file security_context.cc.

◆ grpc_server_security_context_create()

grpc_server_security_context* grpc_server_security_context_create ( grpc_core::Arena arena)

Definition at line 129 of file security_context.cc.

◆ grpc_server_security_context_destroy()

void grpc_server_security_context_destroy ( void *  ctx)

Definition at line 134 of file security_context.cc.

Variable Documentation

◆ grpc_trace_auth_context_refcount

grpc_core::DebugOnlyTraceFlag grpc_trace_auth_context_refcount


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:30