Expand description
JWT (JSON Web Token) generation for GitHub App authentication.
This module provides JWT generation capabilities required for GitHub App authentication. JWTs are used to authenticate as a GitHub App and exchange for installation tokens.
§GitHub Requirements
- JWTs must use RS256 algorithm (RSA Signature with SHA-256)
- Maximum expiration time is 10 minutes from issuance
- Claims must include
iss(app ID),iat(issued at), andexp(expiration)
See docs/specs/interfaces/ for complete interface specifications.
Structs§
- RS256
JwtGenerator - RS256 JWT generator using RSA private keys.
Traits§
- JwtGenerator
- Interface for JWT token generation and signing.