package
Version:
v0.0.0-...-c530903
Opens a new window with list of versions in this module.
Published: Apr 9, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 13
Opens a new window with list of known importers.
Documentation
¶
GetSignedJwtToken get a tokens signed with private key
IsCustomer returns true if a customer is listed in the customers file.
The validation is controlled by the 'validate_customers' env-var
MakeAccessTokenForInstallation makes an access token for an installation / private key
type JWTAuth struct {
Token string `json:"token"`
ExpiresAt time.Time `json:"expires_at"`
}
JWTAuth token issued by Github in response to signed JWT Token
Source Files
¶
Click to show internal directories.
Click to hide internal directories.