Removed grpc_security.h from auth_context.h

pull/3229/head
David Garcia Quintas 9 years ago
parent bda7b617c9
commit 328deb28de
  1. 10
      include/grpc++/security/auth_context.h

@ -37,7 +37,6 @@
#include <iterator> #include <iterator>
#include <vector> #include <vector>
#include <grpc/grpc_security.h>
#include <grpc++/support/config.h> #include <grpc++/support/config.h>
#include <grpc++/support/string_ref.h> #include <grpc++/support/string_ref.h>
@ -100,15 +99,6 @@ class AuthContext {
virtual AuthPropertyIterator begin() const = 0; virtual AuthPropertyIterator begin() const = 0;
virtual AuthPropertyIterator end() const = 0; virtual AuthPropertyIterator end() const = 0;
static string transport_security_type_property_name() {
return GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME;
}
static string ssl_transport_security_type() {
return GRPC_SSL_TRANSPORT_SECURITY_TYPE;
}
static string x509_cn_property_name() { return GRPC_X509_CN_PROPERTY_NAME; }
static string x509_san_property_name() { return GRPC_X509_SAN_PROPERTY_NAME; }
// Mutation functions: should only be used by an AuthMetadataProcessor. // Mutation functions: should only be used by an AuthMetadataProcessor.
virtual void AddProperty(const grpc::string& key, virtual void AddProperty(const grpc::string& key,
const grpc::string_ref& value) = 0; const grpc::string_ref& value) = 0;

Loading…
Cancel
Save