Versions in this module Expand all Collapse all v2 v2.0.0 Aug 17, 2025 Changes in this version + const DefaultApplicationTokenExpiration + func NewApplicationTokenSource[T Identifier](id T, privateKey []byte, opts ...ApplicationTokenOpt) (oauth2.TokenSource, error) + func NewInstallationTokenSource(id int64, src oauth2.TokenSource, opts ...InstallationTokenSourceOpt) oauth2.TokenSource + type ApplicationTokenOpt func(*applicationTokenSource) + func WithApplicationTokenExpiration(exp time.Duration) ApplicationTokenOpt + type Identifier interface + type InstallationTokenSourceOpt func(*installationTokenSource) + func WithContext(ctx context.Context) InstallationTokenSourceOpt + func WithEnterpriseURLs(baseURL, uploadURL string) InstallationTokenSourceOpt + func WithHTTPClient(client *http.Client) InstallationTokenSourceOpt + func WithInstallationTokenOptions(opts *github.InstallationTokenOptions) InstallationTokenSourceOpt Other modules containing this package github.com/jferrl/go-githubauth