package
1.1.4
Repository: https://github.com/abcxyz/pkg.git
Documentation: pkg.go.dev

# Functions

NewApp creates a new GitHub App from the given inputs.
NewStaticTokenSource returns a [StaticTokenSource] which returns the token string as given.
WithBaseURL allows overriding of the GitHub API url.
WithHTTPClient is an option that allows a consumer to provider their own http client implementation.

# Structs

App is an object that can be used to generate application level JWTs or to request an OIDC token on behalf of an installation.
AppInstallation represents a specific installation of the app (on a repo, org, or user).
StaticTokenSource is a GitHubToken provider that returns the provided token.
TokenRequest is a struct that contains the list of repositories and the requested permissions / scopes that are requested when generating a new installation access token.
TokenRequestAllRepos is a struct that contains the requested permissions/scopes that are requested when generating a new installation access token.

# Interfaces

TokenSource is an interface which returns a GitHub token.

# Type aliases

Option is a function that provides an option to the GitHub App creation.
TokenSourceFunc is a function that implements [TokenSource].