Skip to content

Commit 7ebc88f

Browse files
author
shuxu.li
committed
feat(auth): implement OAuth2 token auto-refresh for REST catalog
Replace the MakeOAuth2 stub with a full OAuth2AuthSession that automatically refreshes tokens before expiration using the client_credentials grant.
1 parent 38375ec commit 7ebc88f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/iceberg/test/transform_util_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
#include <gtest/gtest.h>
2323

24+
#include "iceberg/test/matchers.h"
25+
2426
namespace iceberg {
2527

2628
TEST(TransformUtilTest, HumanYear) {

src/iceberg/util/transform_util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <string_view>
2525

2626
#include "iceberg/iceberg_export.h"
27+
#include "iceberg/result.h"
2728

2829
namespace iceberg {
2930

0 commit comments

Comments
 (0)