Maintainer | Brandon Chinn <brandon@leapyear.io> |
---|---|
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
GitHub.REST.Auth
Description
Definitions for handling authentication with the GitHub REST API.
Synopsis
- data Token
- fromToken :: Token -> ByteString
- getJWTToken :: Signer -> AppId -> IO Token
- loadSigner :: FilePath -> IO Signer
Documentation
The token to use to authenticate with GitHub.
Constructors
AccessToken ByteString | |
BearerToken ByteString |
fromToken :: Token -> ByteString Source #