This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script resolves a DID, retrieves an API key, fetches a user's feed, | |
| # and posts a "Hello, world" message to the user's feed. | |
| # Resolve DID for handle | |
| HANDLE='felicitas.pojtinger.com' | |
| DID_URL="https://bsky.social/xrpc/com.atproto.identity.resolveHandle" | |
| export DID=$(curl -G \ | |
| --data-urlencode "handle=$HANDLE" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Configuration; | |
| using System.Net.Http; | |
| using System.Threading.Tasks; | |
| using Microsoft.Azure.KeyVault; // Install-Package Microsoft.Azure.KeyVault | |
| using Microsoft.IdentityModel.Clients.ActiveDirectory; // Install-Package Microsoft.IdentityModel.Clients.ActiveDirectory | |
| namespace KeyVaultSample | |
| { | |
| class Program |