Searched refs:GetPeerIdentity (Results 1 – 6 of 6) sorted by relevance
37 EXPECT_TRUE(context.GetPeerIdentity().empty()); in TEST_F()52 std::vector<grpc::string_ref> peer_identity = context.GetPeerIdentity(); in TEST_F()
36 std::vector<grpc::string_ref> GetPeerIdentity() const override;
33 std::vector<grpc::string_ref> SecureAuthContext::GetPeerIdentity() const { in GetPeerIdentity() function in grpc::SecureAuthContext
76 virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0;
63 EXPECT_TRUE(auth_ctx->GetPeerIdentity().empty()); in CheckServerAuthContext()66 auto identity = auth_ctx->GetPeerIdentity(); in CheckServerAuthContext()
1749 EXPECT_EQ(4u, auth_ctx->GetPeerIdentity().size()); in TEST_P()1750 EXPECT_EQ("*.test.google.fr", ToString(auth_ctx->GetPeerIdentity()[0])); in TEST_P()1752 ToString(auth_ctx->GetPeerIdentity()[1])); in TEST_P()1753 EXPECT_EQ("*.test.youtube.com", ToString(auth_ctx->GetPeerIdentity()[2])); in TEST_P()1754 EXPECT_EQ("192.168.1.3", ToString(auth_ctx->GetPeerIdentity()[3])); in TEST_P()