Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
grpc_auth_context Struct Reference

#include <security_context.h>

Inheritance diagram for grpc_auth_context:
Inheritance graph
[legend]

Public Member Functions

void add_cstring_property (const char *name, const char *value)
 
void add_property (const char *name, const char *value, size_t value_length)
 
const grpc_auth_contextchained () const
 
void ensure_capacity ()
 
 grpc_auth_context (grpc_core::RefCountedPtr< grpc_auth_context > chained)
 
bool is_authenticated () const
 
const char * peer_identity_property_name () const
 
const grpc_auth_property_arrayproperties () const
 
void set_peer_identity_property_name (const char *name)
 
 ~grpc_auth_context ()
 
- Public Member Functions inherited from grpc_core::RefCounted< grpc_auth_context, grpc_core::NonPolymorphicRefCount >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< grpc_auth_contextRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_auth_contextRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< grpc_auth_contextRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< grpc_auth_contextRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::NonPolymorphicRefCount
 ~NonPolymorphicRefCount ()=default
 

Static Public Member Functions

static absl::string_view ChannelArgName ()
 
static int ChannelArgsCompare (const grpc_auth_context *a, const grpc_auth_context *b)
 

Private Attributes

grpc_core::RefCountedPtr< grpc_auth_contextchained_
 
const char * peer_identity_property_name_ = nullptr
 
grpc_auth_property_array properties_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< grpc_auth_context, grpc_core::NonPolymorphicRefCount >
using RefCountedChildType = grpc_auth_context
 
- Protected Member Functions inherited from grpc_core::RefCounted< grpc_auth_context, grpc_core::NonPolymorphicRefCount >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 63 of file security_context.h.

Constructor & Destructor Documentation

◆ grpc_auth_context()

grpc_auth_context::grpc_auth_context ( grpc_core::RefCountedPtr< grpc_auth_context chained)
inlineexplicit

Definition at line 67 of file security_context.h.

◆ ~grpc_auth_context()

grpc_auth_context::~grpc_auth_context ( )
inline

Definition at line 80 of file security_context.h.

Member Function Documentation

◆ add_cstring_property()

void grpc_auth_context::add_cstring_property ( const char *  name,
const char *  value 
)

Definition at line 259 of file security_context.cc.

◆ add_property()

void grpc_auth_context::add_property ( const char *  name,
const char *  value,
size_t  value_length 
)

Definition at line 235 of file security_context.cc.

◆ chained()

const grpc_auth_context* grpc_auth_context::chained ( ) const
inline

Definition at line 96 of file security_context.h.

◆ ChannelArgName()

static absl::string_view grpc_auth_context::ChannelArgName ( )
inlinestatic

Definition at line 90 of file security_context.h.

◆ ChannelArgsCompare()

static int grpc_auth_context::ChannelArgsCompare ( const grpc_auth_context a,
const grpc_auth_context b 
)
inlinestatic

Definition at line 91 of file security_context.h.

◆ ensure_capacity()

void grpc_auth_context::ensure_capacity ( )

Definition at line 226 of file security_context.cc.

◆ is_authenticated()

bool grpc_auth_context::is_authenticated ( ) const
inline

Definition at line 99 of file security_context.h.

◆ peer_identity_property_name()

const char* grpc_auth_context::peer_identity_property_name ( ) const
inline

Definition at line 102 of file security_context.h.

◆ properties()

const grpc_auth_property_array& grpc_auth_context::properties ( ) const
inline

Definition at line 97 of file security_context.h.

◆ set_peer_identity_property_name()

void grpc_auth_context::set_peer_identity_property_name ( const char *  name)
inline

Definition at line 105 of file security_context.h.

Member Data Documentation

◆ chained_

grpc_core::RefCountedPtr<grpc_auth_context> grpc_auth_context::chained_
private

Definition at line 114 of file security_context.h.

◆ peer_identity_property_name_

const char* grpc_auth_context::peer_identity_property_name_ = nullptr
private

Definition at line 116 of file security_context.h.

◆ properties_

grpc_auth_property_array grpc_auth_context::properties_
private

Definition at line 115 of file security_context.h.


The documentation for this struct was generated from the following files:


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