Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Google = Google
- defaultGoogleApp :: IdpApplication 'AuthorizationCode Google
- data GoogleServiceAccountKey = GoogleServiceAccountKey {
- privateKey :: String
- clientEmail :: Text
- projectId :: Text
- privateKeyId :: Text
- clientId :: Text
- authUri :: Text
- tokenUri :: Text
- authProviderX509CertUrl :: Text
- clientX509CertUrl :: Text
- mkJwt :: PrivateKey -> Text -> Maybe Text -> Set Scope -> Idp Google -> IO (Either String Jwt)
- readPemRsaKey :: String -> IO (Either String PrivateKey)
- defaultServiceAccountApp :: Jwt -> IdpApplication 'JwtBearer Google
- defaultGoogleIdp :: Idp Google
- data GoogleUser = GoogleUser {}
Documentation
Authorization Code flow
Service Account
data GoogleServiceAccountKey Source #
Service account key (in JSON format) that download from google
GoogleServiceAccountKey | |
|
Instances
Service Account
:: String | PEM content |
-> IO (Either String PrivateKey) |
Read private RSA Key in PEM format
IDP
data GoogleUser Source #