Home
last modified time | relevance | path

Searched refs:GetPeerIdentity (Results 1 – 6 of 6) sorted by relevance

/third_party/grpc/test/cpp/common/
Dsecure_auth_context_test.cc37 EXPECT_TRUE(context.GetPeerIdentity().empty()); in TEST_F()
54 std::vector<grpc::string_ref> peer_identity = context.GetPeerIdentity(); in TEST_F()
/third_party/grpc/src/cpp/common/
Dsecure_auth_context.h38 std::vector<grpc::string_ref> GetPeerIdentity() const override;
Dsecure_auth_context.cc25 std::vector<grpc::string_ref> SecureAuthContext::GetPeerIdentity() const { in GetPeerIdentity() function in grpc::SecureAuthContext
/third_party/grpc/include/grpcpp/impl/codegen/security/
Dauth_context.h76 virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0;
/third_party/grpc/test/cpp/end2end/
Dtest_service_impl.cc62 EXPECT_TRUE(auth_ctx->GetPeerIdentity().empty()); in CheckServerAuthContext()
65 auto identity = auth_ctx->GetPeerIdentity(); in CheckServerAuthContext()
Dend2end_test.cc2152 EXPECT_EQ(4u, auth_ctx->GetPeerIdentity().size()); in TEST_P()
2153 EXPECT_EQ("*.test.google.fr", ToString(auth_ctx->GetPeerIdentity()[0])); in TEST_P()
2155 ToString(auth_ctx->GetPeerIdentity()[1])); in TEST_P()
2156 EXPECT_EQ("*.test.youtube.com", ToString(auth_ctx->GetPeerIdentity()[2])); in TEST_P()
2157 EXPECT_EQ("192.168.1.3", ToString(auth_ctx->GetPeerIdentity()[3])); in TEST_P()