Modulehoauth2-providers-0.8.0Haskell2010
Network.OAuth2.Provider.Google
- 2 types
- 6 values
- Packagehoauth2-providers-0.8.0
- Exports8
- LanguageHaskell2010
- LicenceMIT
- SourceGoogle.hs
Authorization Code flow
1 declarationService Account
2 declarationsService account key (in JSON format) that download from google
Constructors
Instances3Generic, FromJSON, Rep
Generic GoogleServiceAccountKeyDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.GoogleFromJSON GoogleServiceAccountKeyDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.Googletype Rep GoogleServiceAccountKey = D1 ('MetaDataDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.Google"GoogleServiceAccountKey"
"Network.OAuth2.Provider.Google"
"hoauth2-providers-0.8.0-I0WysKqJPuw5LLaNOXVI13"
'False) (C1 ('MetaCons"GoogleServiceAccountKey"
'PrefixI 'True) (((S1 ('MetaSel ('Just"privateKey"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just"clientEmail"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just"projectId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"privateKeyId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just"clientId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"authUri"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just"tokenUri"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just"authProviderX509CertUrl"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"clientX509CertUrl"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))))
Service Account
2 declarationsRead private RSA Key in PEM format
IDP
3 declarationsInstances4Show, Generic, FromJSON, Rep
Show GoogleUserDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.GoogleGeneric GoogleUserDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.GoogleFromJSON GoogleUserDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.Googletype Rep GoogleUser = D1 ('MetaDataDefined in hoauth2-providers-0.8.0 · Network.OAuth2.Provider.Google"GoogleUser"
"Network.OAuth2.Provider.Google"
"hoauth2-providers-0.8.0-I0WysKqJPuw5LLaNOXVI13"
'False) (C1 ('MetaCons"GoogleUser"
'PrefixI 'True) (S1 ('MetaSel ('Just"name"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just"id"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"email"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))