GRPC C++  0.11.0.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions
grpc::SecureAuthContext Class Reference

#include <secure_auth_context.h>

Public Member Functions

 SecureAuthContext (grpc_auth_context *ctx, bool take_ownership)
 
 ~SecureAuthContext () GRPC_OVERRIDE
 
bool IsPeerAuthenticated () const GRPC_OVERRIDE
 Returns true if the peer is authenticated. More...
 
std::vector< grpc::string_refGetPeerIdentity () const GRPC_OVERRIDE
 A peer identity. More...
 
grpc::string GetPeerIdentityPropertyName () const GRPC_OVERRIDE
 
std::vector< grpc::string_refFindPropertyValues (const grpc::string &name) const GRPC_OVERRIDE
 Returns all the property values with the given name. More...
 
AuthPropertyIterator begin () const GRPC_OVERRIDE
 Iteration over all the properties. More...
 
AuthPropertyIterator end () const GRPC_OVERRIDE
 
void AddProperty (const grpc::string &key, const grpc::string_ref &value) GRPC_OVERRIDE
 
virtual bool SetPeerIdentityPropertyName (const grpc::string &name) GRPC_OVERRIDE
 
- Public Member Functions inherited from grpc::AuthContext
virtual ~AuthContext ()
 

Additional Inherited Members

- Static Public Member Functions inherited from grpc::AuthContext
static string transport_security_type_property_name ()
 
static string ssl_transport_security_type ()
 
static string x509_cn_property_name ()
 
static string x509_san_property_name ()
 

Constructor & Destructor Documentation

grpc::SecureAuthContext::SecureAuthContext ( grpc_auth_context *  ctx,
bool  take_ownership 
)
grpc::SecureAuthContext::~SecureAuthContext ( )

Member Function Documentation

void grpc::SecureAuthContext::AddProperty ( const grpc::string key,
const grpc::string_ref value 
)
virtual

Implements grpc::AuthContext.

AuthPropertyIterator grpc::SecureAuthContext::begin ( ) const
virtual

Iteration over all the properties.

Implements grpc::AuthContext.

AuthPropertyIterator grpc::SecureAuthContext::end ( ) const
virtual

Implements grpc::AuthContext.

std::vector< grpc::string_ref > grpc::SecureAuthContext::FindPropertyValues ( const grpc::string name) const
virtual

Returns all the property values with the given name.

Implements grpc::AuthContext.

std::vector< grpc::string_ref > grpc::SecureAuthContext::GetPeerIdentity ( ) const
virtual

A peer identity.

It is, in general, comprised of one or more properties (in which case they have the same name).

Implements grpc::AuthContext.

grpc::string grpc::SecureAuthContext::GetPeerIdentityPropertyName ( ) const
virtual

Implements grpc::AuthContext.

bool grpc::SecureAuthContext::IsPeerAuthenticated ( ) const
virtual

Returns true if the peer is authenticated.

Implements grpc::AuthContext.

bool grpc::SecureAuthContext::SetPeerIdentityPropertyName ( const grpc::string name)
virtual

Implements grpc::AuthContext.


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