func WithAppAuth(appID int64, privateKey []byte) requests.Option {
	return WithAuthProvider(&appAuthProvider{
		appID:      appID,
		privateKey: privateKey,
	})
}
WithAppAuth provides authentication for a GitHub App. See also WithAppInstallationAuth

appID is the GitHub App's id
privateKey is the app's private key. It should be the content of a PEM file
package octo
import (
	"net/http"
	"net/url"
	"github.com/willabides/octo-go/requests"
	"github.com/willabides/octo-go/requests/apps"
)
func WithBaseURL(baseURL url.URL) requests.Option {
	return func(opts *requests.Options) {
		opts.SetBaseURL(baseURL)
	}
}
func WithRequiredPreviews() requests.Option {
	return func(opts *requests.Options) {
		opts.SetRequiredPreviews(true)
	}
}
func WithAllPreviews() requests.Option {
	return func(opts *requests.Options) {
		opts.SetAllPreviews(true)
	}
}
func WithHTTPClient(client *http.Client) requests.Option {
	return func(opts *requests.Options) {
		opts.SetHttpClient(client)
	}
}
func WithUserAgent(userAgent string) requests.Option {
	return func(opts *requests.Options) {
		opts.SetUserAgent(userAgent)
	}
}
func WithPATAuth(token string) requests.Option {
	return WithAuthProvider(&patAuthProvider{
		token: token,
	})
}