Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jericho/zoomnet.tokenrepositories.azure
Strategies to store Zoom OAuth token in Azure (blob storage, table storage, etc.)
https://github.com/jericho/zoomnet.tokenrepositories.azure
Last synced: 23 days ago
JSON representation
Strategies to store Zoom OAuth token in Azure (blob storage, table storage, etc.)
- Host: GitHub
- URL: https://github.com/jericho/zoomnet.tokenrepositories.azure
- Owner: Jericho
- License: mit
- Created: 2023-02-12T21:21:22.000Z (almost 2 years ago)
- Default Branch: develop
- Last Pushed: 2024-02-11T14:08:21.000Z (11 months ago)
- Last Synced: 2024-02-11T15:25:41.426Z (11 months ago)
- Language: C#
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ZoomNet.TokenRepositories.Azure
Save Zoom's OAuth token information in Azure blob storage
```csharp
// Replace the following values with your actual Azure storage account information
var azureStorageAccountName = "...your storage account name...";
var azureStorageAccountKey = "...your storage account key...";// Customize the following values
var containerName = "zoomoauthtokenstorage";
var blobName = "ZoomOAuth.txt";// Setup the ZoomNet connection info
var azureStorageConnectionString = $"DefaultEndpointsProtocol=https;AccountName={azureStorageAccountName};AccountKey={azureStorageAccountKey}";
var tokenRepository = new ZoomNet.TokenRepositories.Azure.AzureBlobStorageTokenRepository(azureStorageConnectionString, containerName, blobName);
var connectionInfo = OAuthConnectionInfo.ForServerToServer(clientId, clientSecret, accountId, new[] { 0 }, tokenRepository);
var zoomClient = new ZoomClient(connectionInfo);
```