{-# 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 -- Copyright : (c) 2015-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Get token signing public key. -- -- /See:/ for @identitytoolkit.relyingparty.getPublicKeys@. module Network.Google.Resource.IdentityToolkit.RelyingParty.GetPublicKeys ( -- * REST Resource RelyingPartyGetPublicKeysResource -- * Creating a Request , relyingPartyGetPublicKeys , RelyingPartyGetPublicKeys ) where import Network.Google.IdentityToolkit.Types import Network.Google.Prelude -- | A resource alias for @identitytoolkit.relyingparty.getPublicKeys@ method which the -- 'RelyingPartyGetPublicKeys' request conforms to. type RelyingPartyGetPublicKeysResource = "identitytoolkit" :> "v3" :> "relyingparty" :> "publicKeys" :> QueryParam "alt" AltJSON :> Get '[JSON] IdentitytoolkitRelyingPartyGetPublicKeysResponse -- | Get token signing public key. -- -- /See:/ 'relyingPartyGetPublicKeys' smart constructor. data RelyingPartyGetPublicKeys = RelyingPartyGetPublicKeys' deriving (Eq,Show,Data,Typeable,Generic) -- | Creates a value of 'RelyingPartyGetPublicKeys' with the minimum fields required to make a request. -- 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