class AuthContext

Defined at line 70 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/auth_context.h

Class encapsulating the Authentication Information.

It includes the secure identity of the peer, the type of secure transport

used as well as any other properties required by the authorization layer.

Public Methods

bool IsPeerAuthenticated ()

Returns true if the peer is authenticated.

std::vector<grpc::string_ref> GetPeerIdentity ()

A peer identity.

It is, in general, comprised of one or more properties (in which case they

have the same name).

std::string GetPeerIdentityPropertyName ()
std::vector<grpc::string_ref> FindPropertyValues (const std::string & name)

Returns all the property values with the given name.

AuthPropertyIterator begin ()

Iteration over all the properties.

AuthPropertyIterator end ()
void AddProperty (const std::string & key, const string_ref & value)

Mutation functions: should only be used by an AuthMetadataProcessor.

bool SetPeerIdentityPropertyName (const std::string & name)
void ~AuthContext ()

Defined at line 72 of file ../../third_party/grpc-migrating/src/include/grpcpp/security/auth_context.h