Documentation ¶
Index ¶
- func CheckMAC(message, messageMAC, key []byte) bool
- func GetSignedJwtToken(appID, privateKey string) (string, error)
- func MakeAccessTokenForInstallation(appID, privateKey string, installation int) (string, error)
- func MakeClient(ctx context.Context, accessToken string) *github.Client
- func ValidateHMAC(secret string, bytesIn []byte, xHubSignature string) error
- type JwtAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSignedJwtToken ¶
GetSignedJwtToken get a tokens signed with private key
func MakeAccessTokenForInstallation ¶
MakeAccessTokenForInstallation makes an access token for an installation / private key.
func MakeClient ¶
MakeClient make a HTTP client with a signed access token.
Types ¶
Click to show internal directories.
Click to hide internal directories.