From 807c377b77c682a04d0301ef9fa1c94a8adf89a9 Mon Sep 17 00:00:00 2001 From: Siddhartha Mathiharan <42589365+simathih@users.noreply.github.com> Date: Thu, 24 Nov 2022 18:58:30 -0800 Subject: [PATCH] Bearer token support --- Microsoft.WindowsAzure.Storage/src/cloud_table_client.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Microsoft.WindowsAzure.Storage/src/cloud_table_client.cpp b/Microsoft.WindowsAzure.Storage/src/cloud_table_client.cpp index 5d906f48..401ee754 100644 --- a/Microsoft.WindowsAzure.Storage/src/cloud_table_client.cpp +++ b/Microsoft.WindowsAzure.Storage/src/cloud_table_client.cpp @@ -136,6 +136,10 @@ namespace azure { namespace storage { { set_authentication_handler(std::make_shared(std::move(creds))); } + else if (creds.is_bearer_token()) + { + set_authentication_handler(std::make_shared(std::move(creds))); + } else { set_authentication_handler(std::make_shared());