GRPC C++
1.66.0
|
Class encapsulating the Authentication Information. More...
#include <auth_context.h>
Public Member Functions | |
virtual | ~AuthContext () |
virtual bool | IsPeerAuthenticated () const =0 |
Returns true if the peer is authenticated. More... | |
virtual std::vector< grpc::string_ref > | GetPeerIdentity () const =0 |
A peer identity. More... | |
virtual std::string | GetPeerIdentityPropertyName () const =0 |
virtual std::vector< grpc::string_ref > | FindPropertyValues (const std::string &name) const =0 |
Returns all the property values with the given name. More... | |
virtual AuthPropertyIterator | begin () const =0 |
Iteration over all the properties. More... | |
virtual AuthPropertyIterator | end () const =0 |
virtual void | AddProperty (const std::string &key, const string_ref &value)=0 |
Mutation functions: should only be used by an AuthMetadataProcessor. More... | |
virtual bool | SetPeerIdentityPropertyName (const std::string &name)=0 |
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.
|
inlinevirtual |
|
pure virtual |
Mutation functions: should only be used by an AuthMetadataProcessor.
|
pure virtual |
Iteration over all the properties.
|
pure virtual |
|
pure virtual |
Returns all the property values with the given name.
|
pure virtual |
A peer identity.
It is, in general, comprised of one or more properties (in which case they have the same name).
|
pure virtual |
|
pure virtual |
Returns true if the peer is authenticated.
|
pure virtual |