Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- signJWT :: MonadIO m => ExpirationTime -> Issuer -> PrivateKey -> m ByteString
- newtype ExpirationTime = ExpirationTime {}
- newtype Issuer = Issuer {}
- newtype PrivateKey = PrivateKey {
- unwrap :: ByteString
- newtype InvalidPrivateKey = InvalidPrivateKey PrivateKey
- data InvalidDate = InvalidDate {}
- newtype InvalidIssuer = InvalidIssuer Issuer
Documentation
signJWT :: MonadIO m => ExpirationTime -> Issuer -> PrivateKey -> m ByteString Source #
newtype ExpirationTime Source #
Private RSA Key data
newtype PrivateKey Source #
Instances
Show PrivateKey Source # | |
Defined in GitHub.App.Token.JWT showsPrec :: Int -> PrivateKey -> ShowS # show :: PrivateKey -> String # showList :: [PrivateKey] -> ShowS # |
Errors
newtype InvalidPrivateKey Source #
Instances
Exception InvalidPrivateKey Source # | |
Defined in GitHub.App.Token.JWT | |
Show InvalidPrivateKey Source # | |
Defined in GitHub.App.Token.JWT showsPrec :: Int -> InvalidPrivateKey -> ShowS # show :: InvalidPrivateKey -> String # showList :: [InvalidPrivateKey] -> ShowS # |
data InvalidDate Source #
Instances
Exception InvalidDate Source # | |
Defined in GitHub.App.Token.JWT | |
Show InvalidDate Source # | |
Defined in GitHub.App.Token.JWT showsPrec :: Int -> InvalidDate -> ShowS # show :: InvalidDate -> String # showList :: [InvalidDate] -> ShowS # |
newtype InvalidIssuer Source #
Instances
Exception InvalidIssuer Source # | |
Defined in GitHub.App.Token.JWT | |
Show InvalidIssuer Source # | |
Defined in GitHub.App.Token.JWT showsPrec :: Int -> InvalidIssuer -> ShowS # show :: InvalidIssuer -> String # showList :: [InvalidIssuer] -> ShowS # |