Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
generateInstallationToken :: MonadIO m => AppCredentials -> InstallationId -> m AccessToken Source #
data AppCredentials Source #
newtype PrivateKey Source #
Instances
Show PrivateKey Source # | |
Defined in GitHub.App.Token.JWT showsPrec :: Int -> PrivateKey -> ShowS # show :: PrivateKey -> String # showList :: [PrivateKey] -> ShowS # |
newtype InstallationId Source #
data AccessToken Source #
AccessToken | |
|
Instances
FromJSON AccessToken Source # | |
Defined in GitHub.App.Token.Generate parseJSON :: Value -> Parser AccessToken # parseJSONList :: Value -> Parser [AccessToken] # | |
Generic AccessToken Source # | |
Defined in GitHub.App.Token.Generate type Rep AccessToken :: Type -> Type # from :: AccessToken -> Rep AccessToken x # to :: Rep AccessToken x -> AccessToken # | |
Show AccessToken Source # | |
Defined in GitHub.App.Token.Generate showsPrec :: Int -> AccessToken -> ShowS # show :: AccessToken -> String # showList :: [AccessToken] -> ShowS # | |
type Rep AccessToken Source # | |
Defined in GitHub.App.Token.Generate type Rep AccessToken = D1 ('MetaData "AccessToken" "GitHub.App.Token.Generate" "github-app-token-0.0.0.1-6MHjCpcz6XE7ZJyFohabxW" 'False) (C1 ('MetaCons "AccessToken" 'PrefixI 'True) (S1 ('MetaSel ('Just "token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "expires_at") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UTCTime))) |