{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.SSOOIDC.RegisterClient
(
RegisterClient (..),
newRegisterClient,
registerClient_scopes,
registerClient_clientName,
registerClient_clientType,
RegisterClientResponse (..),
newRegisterClientResponse,
registerClientResponse_authorizationEndpoint,
registerClientResponse_clientId,
registerClientResponse_clientIdIssuedAt,
registerClientResponse_clientSecret,
registerClientResponse_clientSecretExpiresAt,
registerClientResponse_tokenEndpoint,
registerClientResponse_httpStatus,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response
import Amazonka.SSOOIDC.Types
data RegisterClient = RegisterClient'
{
RegisterClient -> Maybe [Text]
scopes :: Prelude.Maybe [Prelude.Text],
RegisterClient -> Text
clientName :: Prelude.Text,
RegisterClient -> Text
clientType :: Prelude.Text
}
deriving (RegisterClient -> RegisterClient -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RegisterClient -> RegisterClient -> Bool
$c/= :: RegisterClient -> RegisterClient -> Bool
== :: RegisterClient -> RegisterClient -> Bool
$c== :: RegisterClient -> RegisterClient -> Bool
Prelude.Eq, ReadPrec [RegisterClient]
ReadPrec RegisterClient
Int -> ReadS RegisterClient
ReadS [RegisterClient]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RegisterClient]
$creadListPrec :: ReadPrec [RegisterClient]
readPrec :: ReadPrec RegisterClient
$creadPrec :: ReadPrec RegisterClient
readList :: ReadS [RegisterClient]
$creadList :: ReadS [RegisterClient]
readsPrec :: Int -> ReadS RegisterClient
$creadsPrec :: Int -> ReadS RegisterClient
Prelude.Read, Int -> RegisterClient -> ShowS
[RegisterClient] -> ShowS
RegisterClient -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RegisterClient] -> ShowS
$cshowList :: [RegisterClient] -> ShowS
show :: RegisterClient -> String
$cshow :: RegisterClient -> String
showsPrec :: Int -> RegisterClient -> ShowS
$cshowsPrec :: Int -> RegisterClient -> ShowS
Prelude.Show, forall x. Rep RegisterClient x -> RegisterClient
forall x. RegisterClient -> Rep RegisterClient x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RegisterClient x -> RegisterClient
$cfrom :: forall x. RegisterClient -> Rep RegisterClient x
Prelude.Generic)
newRegisterClient ::
Prelude.Text ->
Prelude.Text ->
RegisterClient
newRegisterClient :: Text -> Text -> RegisterClient
newRegisterClient Text
pClientName_ Text
pClientType_ =
RegisterClient'
{ $sel:scopes:RegisterClient' :: Maybe [Text]
scopes = forall a. Maybe a
Prelude.Nothing,
$sel:clientName:RegisterClient' :: Text
clientName = Text
pClientName_,
$sel:clientType:RegisterClient' :: Text
clientType = Text
pClientType_
}
registerClient_scopes :: Lens.Lens' RegisterClient (Prelude.Maybe [Prelude.Text])
registerClient_scopes :: Lens' RegisterClient (Maybe [Text])
registerClient_scopes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClient' {Maybe [Text]
scopes :: Maybe [Text]
$sel:scopes:RegisterClient' :: RegisterClient -> Maybe [Text]
scopes} -> Maybe [Text]
scopes) (\s :: RegisterClient
s@RegisterClient' {} Maybe [Text]
a -> RegisterClient
s {$sel:scopes:RegisterClient' :: Maybe [Text]
scopes = Maybe [Text]
a} :: RegisterClient) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
registerClient_clientName :: Lens.Lens' RegisterClient Prelude.Text
registerClient_clientName :: Lens' RegisterClient Text
registerClient_clientName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClient' {Text
clientName :: Text
$sel:clientName:RegisterClient' :: RegisterClient -> Text
clientName} -> Text
clientName) (\s :: RegisterClient
s@RegisterClient' {} Text
a -> RegisterClient
s {$sel:clientName:RegisterClient' :: Text
clientName = Text
a} :: RegisterClient)
registerClient_clientType :: Lens.Lens' RegisterClient Prelude.Text
registerClient_clientType :: Lens' RegisterClient Text
registerClient_clientType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClient' {Text
clientType :: Text
$sel:clientType:RegisterClient' :: RegisterClient -> Text
clientType} -> Text
clientType) (\s :: RegisterClient
s@RegisterClient' {} Text
a -> RegisterClient
s {$sel:clientType:RegisterClient' :: Text
clientType = Text
a} :: RegisterClient)
instance Core.AWSRequest RegisterClient where
type
AWSResponse RegisterClient =
RegisterClientResponse
request :: (Service -> Service) -> RegisterClient -> Request RegisterClient
request Service -> Service
overrides =
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON (Service -> Service
overrides Service
defaultService)
response :: forall (m :: * -> *).
MonadResource m =>
(ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy RegisterClient
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse RegisterClient)))
response =
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> (ByteStringLazy -> IO ByteStringLazy)
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
( \Int
s ResponseHeaders
h Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Maybe Integer
-> Maybe Text
-> Int
-> RegisterClientResponse
RegisterClientResponse'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"authorizationEndpoint")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"clientId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"clientIdIssuedAt")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"clientSecret")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"clientSecretExpiresAt")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Data..?> Key
"tokenEndpoint")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
)
instance Prelude.Hashable RegisterClient where
hashWithSalt :: Int -> RegisterClient -> Int
hashWithSalt Int
_salt RegisterClient' {Maybe [Text]
Text
clientType :: Text
clientName :: Text
scopes :: Maybe [Text]
$sel:clientType:RegisterClient' :: RegisterClient -> Text
$sel:clientName:RegisterClient' :: RegisterClient -> Text
$sel:scopes:RegisterClient' :: RegisterClient -> Maybe [Text]
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [Text]
scopes
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
clientName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Text
clientType
instance Prelude.NFData RegisterClient where
rnf :: RegisterClient -> ()
rnf RegisterClient' {Maybe [Text]
Text
clientType :: Text
clientName :: Text
scopes :: Maybe [Text]
$sel:clientType:RegisterClient' :: RegisterClient -> Text
$sel:clientName:RegisterClient' :: RegisterClient -> Text
$sel:scopes:RegisterClient' :: RegisterClient -> Maybe [Text]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [Text]
scopes
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
clientName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Text
clientType
instance Data.ToHeaders RegisterClient where
toHeaders :: RegisterClient -> ResponseHeaders
toHeaders =
forall a b. a -> b -> a
Prelude.const
( forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Data.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Data.ToJSON RegisterClient where
toJSON :: RegisterClient -> Value
toJSON RegisterClient' {Maybe [Text]
Text
clientType :: Text
clientName :: Text
scopes :: Maybe [Text]
$sel:clientType:RegisterClient' :: RegisterClient -> Text
$sel:clientName:RegisterClient' :: RegisterClient -> Text
$sel:scopes:RegisterClient' :: RegisterClient -> Maybe [Text]
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"scopes" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Text]
scopes,
forall a. a -> Maybe a
Prelude.Just (Key
"clientName" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
clientName),
forall a. a -> Maybe a
Prelude.Just (Key
"clientType" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= Text
clientType)
]
)
instance Data.ToPath RegisterClient where
toPath :: RegisterClient -> ByteString
toPath = forall a b. a -> b -> a
Prelude.const ByteString
"/client/register"
instance Data.ToQuery RegisterClient where
toQuery :: RegisterClient -> QueryString
toQuery = forall a b. a -> b -> a
Prelude.const forall a. Monoid a => a
Prelude.mempty
data RegisterClientResponse = RegisterClientResponse'
{
RegisterClientResponse -> Maybe Text
authorizationEndpoint :: Prelude.Maybe Prelude.Text,
RegisterClientResponse -> Maybe Text
clientId :: Prelude.Maybe Prelude.Text,
RegisterClientResponse -> Maybe Integer
clientIdIssuedAt :: Prelude.Maybe Prelude.Integer,
RegisterClientResponse -> Maybe Text
clientSecret :: Prelude.Maybe Prelude.Text,
RegisterClientResponse -> Maybe Integer
clientSecretExpiresAt :: Prelude.Maybe Prelude.Integer,
RegisterClientResponse -> Maybe Text
tokenEndpoint :: Prelude.Maybe Prelude.Text,
RegisterClientResponse -> Int
httpStatus :: Prelude.Int
}
deriving (RegisterClientResponse -> RegisterClientResponse -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RegisterClientResponse -> RegisterClientResponse -> Bool
$c/= :: RegisterClientResponse -> RegisterClientResponse -> Bool
== :: RegisterClientResponse -> RegisterClientResponse -> Bool
$c== :: RegisterClientResponse -> RegisterClientResponse -> Bool
Prelude.Eq, ReadPrec [RegisterClientResponse]
ReadPrec RegisterClientResponse
Int -> ReadS RegisterClientResponse
ReadS [RegisterClientResponse]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RegisterClientResponse]
$creadListPrec :: ReadPrec [RegisterClientResponse]
readPrec :: ReadPrec RegisterClientResponse
$creadPrec :: ReadPrec RegisterClientResponse
readList :: ReadS [RegisterClientResponse]
$creadList :: ReadS [RegisterClientResponse]
readsPrec :: Int -> ReadS RegisterClientResponse
$creadsPrec :: Int -> ReadS RegisterClientResponse
Prelude.Read, Int -> RegisterClientResponse -> ShowS
[RegisterClientResponse] -> ShowS
RegisterClientResponse -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RegisterClientResponse] -> ShowS
$cshowList :: [RegisterClientResponse] -> ShowS
show :: RegisterClientResponse -> String
$cshow :: RegisterClientResponse -> String
showsPrec :: Int -> RegisterClientResponse -> ShowS
$cshowsPrec :: Int -> RegisterClientResponse -> ShowS
Prelude.Show, forall x. Rep RegisterClientResponse x -> RegisterClientResponse
forall x. RegisterClientResponse -> Rep RegisterClientResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RegisterClientResponse x -> RegisterClientResponse
$cfrom :: forall x. RegisterClientResponse -> Rep RegisterClientResponse x
Prelude.Generic)
newRegisterClientResponse ::
Prelude.Int ->
RegisterClientResponse
newRegisterClientResponse :: Int -> RegisterClientResponse
newRegisterClientResponse Int
pHttpStatus_ =
RegisterClientResponse'
{ $sel:authorizationEndpoint:RegisterClientResponse' :: Maybe Text
authorizationEndpoint =
forall a. Maybe a
Prelude.Nothing,
$sel:clientId:RegisterClientResponse' :: Maybe Text
clientId = forall a. Maybe a
Prelude.Nothing,
$sel:clientIdIssuedAt:RegisterClientResponse' :: Maybe Integer
clientIdIssuedAt = forall a. Maybe a
Prelude.Nothing,
$sel:clientSecret:RegisterClientResponse' :: Maybe Text
clientSecret = forall a. Maybe a
Prelude.Nothing,
$sel:clientSecretExpiresAt:RegisterClientResponse' :: Maybe Integer
clientSecretExpiresAt = forall a. Maybe a
Prelude.Nothing,
$sel:tokenEndpoint:RegisterClientResponse' :: Maybe Text
tokenEndpoint = forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:RegisterClientResponse' :: Int
httpStatus = Int
pHttpStatus_
}
registerClientResponse_authorizationEndpoint :: Lens.Lens' RegisterClientResponse (Prelude.Maybe Prelude.Text)
registerClientResponse_authorizationEndpoint :: Lens' RegisterClientResponse (Maybe Text)
registerClientResponse_authorizationEndpoint = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Maybe Text
authorizationEndpoint :: Maybe Text
$sel:authorizationEndpoint:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
authorizationEndpoint} -> Maybe Text
authorizationEndpoint) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Maybe Text
a -> RegisterClientResponse
s {$sel:authorizationEndpoint:RegisterClientResponse' :: Maybe Text
authorizationEndpoint = Maybe Text
a} :: RegisterClientResponse)
registerClientResponse_clientId :: Lens.Lens' RegisterClientResponse (Prelude.Maybe Prelude.Text)
registerClientResponse_clientId :: Lens' RegisterClientResponse (Maybe Text)
registerClientResponse_clientId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Maybe Text
clientId :: Maybe Text
$sel:clientId:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
clientId} -> Maybe Text
clientId) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Maybe Text
a -> RegisterClientResponse
s {$sel:clientId:RegisterClientResponse' :: Maybe Text
clientId = Maybe Text
a} :: RegisterClientResponse)
registerClientResponse_clientIdIssuedAt :: Lens.Lens' RegisterClientResponse (Prelude.Maybe Prelude.Integer)
registerClientResponse_clientIdIssuedAt :: Lens' RegisterClientResponse (Maybe Integer)
registerClientResponse_clientIdIssuedAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Maybe Integer
clientIdIssuedAt :: Maybe Integer
$sel:clientIdIssuedAt:RegisterClientResponse' :: RegisterClientResponse -> Maybe Integer
clientIdIssuedAt} -> Maybe Integer
clientIdIssuedAt) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Maybe Integer
a -> RegisterClientResponse
s {$sel:clientIdIssuedAt:RegisterClientResponse' :: Maybe Integer
clientIdIssuedAt = Maybe Integer
a} :: RegisterClientResponse)
registerClientResponse_clientSecret :: Lens.Lens' RegisterClientResponse (Prelude.Maybe Prelude.Text)
registerClientResponse_clientSecret :: Lens' RegisterClientResponse (Maybe Text)
registerClientResponse_clientSecret = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Maybe Text
clientSecret :: Maybe Text
$sel:clientSecret:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
clientSecret} -> Maybe Text
clientSecret) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Maybe Text
a -> RegisterClientResponse
s {$sel:clientSecret:RegisterClientResponse' :: Maybe Text
clientSecret = Maybe Text
a} :: RegisterClientResponse)
registerClientResponse_clientSecretExpiresAt :: Lens.Lens' RegisterClientResponse (Prelude.Maybe Prelude.Integer)
registerClientResponse_clientSecretExpiresAt :: Lens' RegisterClientResponse (Maybe Integer)
registerClientResponse_clientSecretExpiresAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Maybe Integer
clientSecretExpiresAt :: Maybe Integer
$sel:clientSecretExpiresAt:RegisterClientResponse' :: RegisterClientResponse -> Maybe Integer
clientSecretExpiresAt} -> Maybe Integer
clientSecretExpiresAt) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Maybe Integer
a -> RegisterClientResponse
s {$sel:clientSecretExpiresAt:RegisterClientResponse' :: Maybe Integer
clientSecretExpiresAt = Maybe Integer
a} :: RegisterClientResponse)
registerClientResponse_tokenEndpoint :: Lens.Lens' RegisterClientResponse (Prelude.Maybe Prelude.Text)
registerClientResponse_tokenEndpoint :: Lens' RegisterClientResponse (Maybe Text)
registerClientResponse_tokenEndpoint = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Maybe Text
tokenEndpoint :: Maybe Text
$sel:tokenEndpoint:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
tokenEndpoint} -> Maybe Text
tokenEndpoint) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Maybe Text
a -> RegisterClientResponse
s {$sel:tokenEndpoint:RegisterClientResponse' :: Maybe Text
tokenEndpoint = Maybe Text
a} :: RegisterClientResponse)
registerClientResponse_httpStatus :: Lens.Lens' RegisterClientResponse Prelude.Int
registerClientResponse_httpStatus :: Lens' RegisterClientResponse Int
registerClientResponse_httpStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegisterClientResponse' {Int
httpStatus :: Int
$sel:httpStatus:RegisterClientResponse' :: RegisterClientResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: RegisterClientResponse
s@RegisterClientResponse' {} Int
a -> RegisterClientResponse
s {$sel:httpStatus:RegisterClientResponse' :: Int
httpStatus = Int
a} :: RegisterClientResponse)
instance Prelude.NFData RegisterClientResponse where
rnf :: RegisterClientResponse -> ()
rnf RegisterClientResponse' {Int
Maybe Integer
Maybe Text
httpStatus :: Int
tokenEndpoint :: Maybe Text
clientSecretExpiresAt :: Maybe Integer
clientSecret :: Maybe Text
clientIdIssuedAt :: Maybe Integer
clientId :: Maybe Text
authorizationEndpoint :: Maybe Text
$sel:httpStatus:RegisterClientResponse' :: RegisterClientResponse -> Int
$sel:tokenEndpoint:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
$sel:clientSecretExpiresAt:RegisterClientResponse' :: RegisterClientResponse -> Maybe Integer
$sel:clientSecret:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
$sel:clientIdIssuedAt:RegisterClientResponse' :: RegisterClientResponse -> Maybe Integer
$sel:clientId:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
$sel:authorizationEndpoint:RegisterClientResponse' :: RegisterClientResponse -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
authorizationEndpoint
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
clientId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
clientIdIssuedAt
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
clientSecret
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
clientSecretExpiresAt
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
tokenEndpoint
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Int
httpStatus