Skip to content

Commit

Permalink
Precheck Fix on Spelling Issues
Browse files Browse the repository at this point in the history
Signed-off-by: Yueren Wang <yuerenwang@lyft.com>
  • Loading branch information
Yueren-Wang committed Jan 10, 2025
1 parent 0f721f2 commit eb8f6dc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/extensions/filters/http/oauth2/filter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,29 +197,29 @@ class OAuth2Test : public testing::TestWithParam<int> {
envoy::extensions::filters::http::oauth2::v3::CookieConfig::BEARER_TOKEN);
bearer_config->set_same_site(bearer_samesite);

// HMAC Cookie Config, Set Samesite to DISABLED by default
// HMAC Cookie Config, Set value to disabled by default.
auto* hmac_config = cookie_configs->mutable_oauth_hmac_cookie_config();
hmac_config->set_type(envoy::extensions::filters::http::oauth2::v3::CookieConfig::OAUTH_HMAC);
hmac_config->set_same_site(hmac_samesite);

// Expires Cookie Config, Set Samesite to DISABLED by default
// Set value to disabled by default.
auto* expires_config = cookie_configs->mutable_oauth_expires_cookie_config();
expires_config->set_type(
envoy::extensions::filters::http::oauth2::v3::CookieConfig::OAUTH_EXPIRES);
expires_config->set_same_site(expires_samesite);

// ID Token Cookie Config, Set Samesite to DISABLED by default
// Set value to disabled by default.
auto* id_token_config = cookie_configs->mutable_id_token_cookie_config();
id_token_config->set_type(envoy::extensions::filters::http::oauth2::v3::CookieConfig::ID_TOKEN);
id_token_config->set_same_site(id_token_samesite);

// Refresh Token Cookie Config, Set Samesite to DISABLED by default
// Set value to disabled by default.
auto* refresh_token_config = cookie_configs->mutable_refresh_token_cookie_config();
refresh_token_config->set_type(
envoy::extensions::filters::http::oauth2::v3::CookieConfig::REFRESH_TOKEN);
refresh_token_config->set_same_site(refresh_token_samesite);

// OAuth Nonce Cookie Config, Set Samesite to DISABLED by default
// Set value to disabled by default.
auto* oauth_nonce_config = cookie_configs->mutable_oauth_nonce_cookie_config();
oauth_nonce_config->set_type(
envoy::extensions::filters::http::oauth2::v3::CookieConfig::OAUTH_NONCE);
Expand Down

0 comments on commit eb8f6dc

Please sign in to comment.