module GitHub.App.Token.AppCredentials
  ( AppCredentials (..)
  , AppId (..)
  , PrivateKey (..)
  ) where

import GitHub.App.Token.JWT (PrivateKey (..))
import GitHub.App.Token.Prelude

data AppCredentials = AppCredentials
  { AppCredentials -> AppId
appId :: AppId
  , AppCredentials -> PrivateKey
privateKey :: PrivateKey
  }

newtype AppId = AppId
  { AppId -> Int
unwrap :: Int
  }