Skip to content

Commit

Permalink
jwt_authn: clean not-used using (#7845)
Browse files Browse the repository at this point in the history
Signed-off-by: Wayne Zhang <qiwzhang@google.com>
  • Loading branch information
qiwzhang authored and lizan committed Aug 7, 2019
1 parent 7e21623 commit cb7c969
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion source/extensions/filters/http/jwt_authn/authenticator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "jwt_verify_lib/jwt.h"
#include "jwt_verify_lib/verify.h"

using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtProvider;
using ::google::jwt_verify::CheckAudience;
using ::google::jwt_verify::Status;

Expand Down
1 change: 0 additions & 1 deletion source/extensions/filters/http/jwt_authn/extractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "absl/strings/match.h"

using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtAuthentication;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtHeader;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtProvider;
using Envoy::Http::LowerCaseString;

Expand Down
1 change: 0 additions & 1 deletion source/extensions/filters/http/jwt_authn/matcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "absl/strings/match.h"

using ::envoy::api::v2::route::RouteMatch;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtProvider;
using ::envoy::config::filter::http::jwt_authn::v2alpha::RequirementRule;
using Envoy::Router::ConfigUtility;

Expand Down
4 changes: 0 additions & 4 deletions test/extensions/filters/http/jwt_authn/extractor_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtAuthentication;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtProvider;
using Envoy::Http::TestHeaderMapImpl;

using ::testing::_;
using ::testing::Invoke;
using ::testing::NiceMock;

namespace Envoy {
namespace Extensions {
namespace HttpFilters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"

using ::envoy::api::v2::core::Metadata;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtAuthentication;

namespace Envoy {
Expand Down
2 changes: 0 additions & 2 deletions test/extensions/filters/http/jwt_authn/filter_factory_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
#include "gtest/gtest.h"

using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtAuthentication;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtProvider;
using testing::_;
using testing::Invoke;

namespace Envoy {
namespace Extensions {
Expand Down
8 changes: 0 additions & 8 deletions test/extensions/filters/http/jwt_authn/matcher_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,8 @@
#include "test/extensions/filters/http/jwt_authn/test_common.h"
#include "test/test_common/utility.h"

using ::envoy::api::v2::route::RouteMatch;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtProvider;
using ::envoy::config::filter::http::jwt_authn::v2alpha::JwtRequirement;
using ::envoy::config::filter::http::jwt_authn::v2alpha::RequirementRule;
using Envoy::Http::TestHeaderMapImpl;
using ::testing::_;
using ::testing::Invoke;
using ::testing::NiceMock;

using ::google::jwt_verify::Status;

namespace Envoy {
namespace Extensions {
Expand Down

0 comments on commit cb7c969

Please sign in to comment.