github-rest-1.0.2: Query the GitHub REST API programmatically

MaintainerBrandon Chinn <brandon@leapyear.io>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

GitHub.REST.Auth

Contents

Description

Definitions for handling authentication with the GitHub REST API.

Synopsis

Documentation

Helpers for using JWT tokens with the GitHub API

getJWTToken :: Signer -> AppId -> IO Token Source #

Create a JWT token that expires in 10 minutes.

loadSigner :: FilePath -> IO Signer Source #

Load a RSA private key as a Signer from the given file path.