github_app_auth

package
v3.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	// Id specifies the ID of the GitHub app used to access the repo
	Id int64
	// InstallationId specifies the installation ID of the GitHub App used to access the repo
	InstallationId int64
	// EnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com
	EnterpriseBaseURL string
	// PrivateKey in PEM format.
	PrivateKey string
}

Authentication has the authentication information required to access the GitHub API and repositories.

type Credentials

type Credentials interface {
	GetAuthSecret(ctx context.Context, secretName string) (*Authentication, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL