{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.IdentityToolkit.RelyingParty.GetPublicKeys
(
RelyingPartyGetPublicKeysResource
, relyingPartyGetPublicKeys
, RelyingPartyGetPublicKeys
) where
import Network.Google.IdentityToolkit.Types
import Network.Google.Prelude
type RelyingPartyGetPublicKeysResource =
"identitytoolkit" :>
"v3" :>
"relyingparty" :>
"publicKeys" :>
QueryParam "alt" AltJSON :>
Get '[JSON]
IdentitytoolkitRelyingPartyGetPublicKeysResponse
data RelyingPartyGetPublicKeys =
RelyingPartyGetPublicKeys'
deriving (Eq,Show,Data,Typeable,Generic)
relyingPartyGetPublicKeys
:: RelyingPartyGetPublicKeys
relyingPartyGetPublicKeys = RelyingPartyGetPublicKeys'
instance GoogleRequest RelyingPartyGetPublicKeys
where
type Rs RelyingPartyGetPublicKeys =
IdentitytoolkitRelyingPartyGetPublicKeysResponse
type Scopes RelyingPartyGetPublicKeys =
'["https://www.googleapis.com/auth/cloud-platform"]
requestClient RelyingPartyGetPublicKeys'{}
= go (Just AltJSON) identityToolkitService
where go
= buildClient
(Proxy :: Proxy RelyingPartyGetPublicKeysResource)
mempty