A Julia client package to authenticate as GitHub apps. Caching and refreshing expired tokens are managed automatically.
# Load the package
using GitHubAppTokens
# Create the client context with your GitHub app's ID and private key file
ctx = GHAppCtx(12345, "privkey.pem")
# Generate or retrieve token for a repo
token = GitHubAppTokens.get_token_for_repo(ctx, "myorg", "myrepo")