Versions in this module Expand all Collapse all v0 v0.2.0 Oct 4, 2026 v0.1.0 Apr 25, 2026 Changes in this version + type AppProvider struct + func NewAppProvider(appID, installationID int64, privateKeyPath string, opts ...Option) (*AppProvider, error) + func NewAppProviderWithKey(appID, installationID int64, key *rsa.PrivateKey, apiBaseURL string) (*AppProvider, error) + func (p *AppProvider) GenerateToken(ctx context.Context) (string, time.Time, error) + type CacheOption func(*CachingProvider) + func WithRefreshSkew(d time.Duration) CacheOption + type CachingProvider struct + func NewCachingProvider(inner TokenGenerator, opts ...CacheOption) *CachingProvider + func (c *CachingProvider) GenerateToken(ctx context.Context) (string, time.Time, error) + type Option func(*AppProvider) + func WithAPIBaseURL(u string) Option + type PATProvider struct + func NewPATProvider(token string) (*PATProvider, error) + func (p *PATProvider) GenerateToken(_ context.Context) (string, time.Time, error) + type TokenGenerator interface + GenerateToken func(ctx context.Context) (token string, expiresAt time.Time, err error)