octokit / dotnet-sdk

MIT License
52 stars 8 forks source link

Support GitHub Apps Installation authentication #70

Closed nickfloyd closed 1 month ago

nickfloyd commented 2 months ago

Description

This PR introduces two things:

  1. A new CLI for the SDK that allows users to authenticate using GitHub Apps Installation tokens. The CLI is a simple command-line tool that allows users to authenticate with GitHub using a GitHub App Installation token or a personal access token. The CLI is designed to be easy to use and can be run from the command line on any platform. It's primary use case is for tight loop development validation and testing.
  2. New classes for app installation and personal access token authentication. These classes are currently used in the CLI for authentication and are for general purpose authenticate with GitHub using GitHub Apps Installation tokens or personal access tokens.

Changes

CLI

Authentication

Test coverage has been added to ensure that the new classes and methods are working as expected.

Screenshot 2024-06-04 at 9 45 15 AM

Pull request checklist

Does this introduce a breaking change?

Please see our docs on breaking changes to help!


github-actions[bot] commented 2 months ago

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀