code_corps v0.0.1 CodeCorps.GitHub.API.JWT View Source

In charge of loading a a GitHub app .pem and generating a JSON Web Token from it.

Link to this section Summary

Functions

Generates a JWT from the GitHub App’s generated RSA private key using the RS256 algo, where the issuer is the GitHub App’s ID

Link to this section Functions

Generates a JWT from the GitHub App’s generated RSA private key using the RS256 algo, where the issuer is the GitHub App’s ID.

Used to exchange the JWT for an access token for a given integration, or for the GitHub App itself.

Expires in 5 minutes.