Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [#6798] Not able to create instance of BlobsTranscriptStore using TokenCredential instead of connectionString and containerName #6813

Merged

Conversation

JhontSouth
Copy link
Collaborator

Fixes #6798

Description

This PR allows the use of Token Credentials to authenticate and create an instance of BlobsTranscriptStore.

Specific Changes

  • Added constructors in BlobsTranscriptStore with blobServiceUri and tokenCredentials as parameters.
  • Added constructor validations in unit tests.

Testing

The following images show the bot working and saving transcripts using BlobsTranscriptStore instantiated with token credentials.
image
image

@JhontSouth JhontSouth requested a review from a team as a code owner July 8, 2024 14:29
@tracyboehrer tracyboehrer added Automation: Parity with js The PR needs to be ported to JS Automation: Parity with python The PR needs to be ported to Python labels Jul 8, 2024
@tracyboehrer tracyboehrer merged commit 1e6eb61 into main Jul 8, 2024
12 of 13 checks passed
@tracyboehrer tracyboehrer deleted the southworks/add/blobtranscriptstore-token-credential branch July 8, 2024 18:45
tracyboehrer added a commit that referenced this pull request Sep 10, 2024
* Fix for Skills endorsement check (#6846)

Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>

* FederatedAppCredentials and factory

* add token credential authentication to BlobsTranscriptStore (#6813)

* [#6741] Remove .Net Core 3.1 from projects (#6819)

* Remove netcoreapp3.1 and fix System.Text.Json issue

* Fix System.Formats.Asn1 security issue

* Fix remaining System.Text.Json issue

* Removed unused argument from FederatedAuthenticator.CreateClientApplication

* Fix Microsoft.Bcl.AsyncInterfaces warning (#6837)

# Conflicts:
#	libraries/Microsoft.Bot.Builder.Azure/Microsoft.Bot.Builder.Azure.csproj

* add code ql comment about TypeNameHandling.None (#6843)

---------

Co-authored-by: Tracy Boehrer <trboehre@microsoft.com>
Co-authored-by: Jhonatan Sandoval Velasco <122501764+JhontSouth@users.noreply.github.com>
Co-authored-by: Joel Mut <62260472+sw-joelmut@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Automation: Parity with js The PR needs to be ported to JS Automation: Parity with python The PR needs to be ported to Python
Projects
None yet
2 participants