module Stratosphere.EC2.VerifiedAccessTrustProvider.OidcOptionsProperty (
        OidcOptionsProperty(..), mkOidcOptionsProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OidcOptionsProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html>
    OidcOptionsProperty {OidcOptionsProperty -> ()
haddock_workaround_ :: (),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-authorizationendpoint>
                         OidcOptionsProperty -> Maybe (Value Text)
authorizationEndpoint :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-clientid>
                         OidcOptionsProperty -> Maybe (Value Text)
clientId :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-clientsecret>
                         OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-issuer>
                         OidcOptionsProperty -> Maybe (Value Text)
issuer :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-scope>
                         OidcOptionsProperty -> Maybe (Value Text)
scope :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-tokenendpoint>
                         OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: (Prelude.Maybe (Value Prelude.Text)),
                         -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccesstrustprovider-oidcoptions.html#cfn-ec2-verifiedaccesstrustprovider-oidcoptions-userinfoendpoint>
                         OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (OidcOptionsProperty -> OidcOptionsProperty -> Bool
(OidcOptionsProperty -> OidcOptionsProperty -> Bool)
-> (OidcOptionsProperty -> OidcOptionsProperty -> Bool)
-> Eq OidcOptionsProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OidcOptionsProperty -> OidcOptionsProperty -> Bool
== :: OidcOptionsProperty -> OidcOptionsProperty -> Bool
$c/= :: OidcOptionsProperty -> OidcOptionsProperty -> Bool
/= :: OidcOptionsProperty -> OidcOptionsProperty -> Bool
Prelude.Eq, Int -> OidcOptionsProperty -> ShowS
[OidcOptionsProperty] -> ShowS
OidcOptionsProperty -> String
(Int -> OidcOptionsProperty -> ShowS)
-> (OidcOptionsProperty -> String)
-> ([OidcOptionsProperty] -> ShowS)
-> Show OidcOptionsProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OidcOptionsProperty -> ShowS
showsPrec :: Int -> OidcOptionsProperty -> ShowS
$cshow :: OidcOptionsProperty -> String
show :: OidcOptionsProperty -> String
$cshowList :: [OidcOptionsProperty] -> ShowS
showList :: [OidcOptionsProperty] -> ShowS
Prelude.Show)
mkOidcOptionsProperty :: OidcOptionsProperty
mkOidcOptionsProperty :: OidcOptionsProperty
mkOidcOptionsProperty
  = OidcOptionsProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), authorizationEndpoint :: Maybe (Value Text)
authorizationEndpoint = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       clientId :: Maybe (Value Text)
clientId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, clientSecret :: Maybe (Value Text)
clientSecret = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       issuer :: Maybe (Value Text)
issuer = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, scope :: Maybe (Value Text)
scope = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tokenEndpoint :: Maybe (Value Text)
tokenEndpoint = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       userInfoEndpoint :: Maybe (Value Text)
userInfoEndpoint = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OidcOptionsProperty where
  toResourceProperties :: OidcOptionsProperty -> ResourceProperties
toResourceProperties OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::EC2::VerifiedAccessTrustProvider.OidcOptions",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizationEndpoint"
                              (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authorizationEndpoint,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClientId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
clientId,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClientSecret" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
clientSecret,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Issuer" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
issuer,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Scope" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
scope,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TokenEndpoint" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
tokenEndpoint,
                            Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserInfoEndpoint" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
userInfoEndpoint])}
instance JSON.ToJSON OidcOptionsProperty where
  toJSON :: OidcOptionsProperty -> Value
toJSON OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuthorizationEndpoint"
                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
authorizationEndpoint,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClientId" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
clientId,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ClientSecret" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
clientSecret,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Issuer" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
issuer,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Scope" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
scope,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TokenEndpoint" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
tokenEndpoint,
               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserInfoEndpoint" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
userInfoEndpoint]))
instance Property "AuthorizationEndpoint" OidcOptionsProperty where
  type PropertyType "AuthorizationEndpoint" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "AuthorizationEndpoint" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "AuthorizationEndpoint" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty
        {authorizationEndpoint :: Maybe (Value Text)
authorizationEndpoint = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuthorizationEndpoint" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
instance Property "ClientId" OidcOptionsProperty where
  type PropertyType "ClientId" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "ClientId" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "ClientId" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty {clientId :: Maybe (Value Text)
clientId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ClientId" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
instance Property "ClientSecret" OidcOptionsProperty where
  type PropertyType "ClientSecret" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "ClientSecret" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "ClientSecret" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty {clientSecret :: Maybe (Value Text)
clientSecret = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ClientSecret" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
instance Property "Issuer" OidcOptionsProperty where
  type PropertyType "Issuer" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "Issuer" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "Issuer" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty {issuer :: Maybe (Value Text)
issuer = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Issuer" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
instance Property "Scope" OidcOptionsProperty where
  type PropertyType "Scope" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "Scope" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "Scope" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty {scope :: Maybe (Value Text)
scope = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Scope" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
instance Property "TokenEndpoint" OidcOptionsProperty where
  type PropertyType "TokenEndpoint" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "TokenEndpoint" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "TokenEndpoint" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty {tokenEndpoint :: Maybe (Value Text)
tokenEndpoint = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TokenEndpoint" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
instance Property "UserInfoEndpoint" OidcOptionsProperty where
  type PropertyType "UserInfoEndpoint" OidcOptionsProperty = Value Prelude.Text
  set :: PropertyType "UserInfoEndpoint" OidcOptionsProperty
-> OidcOptionsProperty -> OidcOptionsProperty
set PropertyType "UserInfoEndpoint" OidcOptionsProperty
newValue OidcOptionsProperty {Maybe (Value Text)
()
haddock_workaround_ :: OidcOptionsProperty -> ()
authorizationEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
clientId :: OidcOptionsProperty -> Maybe (Value Text)
clientSecret :: OidcOptionsProperty -> Maybe (Value Text)
issuer :: OidcOptionsProperty -> Maybe (Value Text)
scope :: OidcOptionsProperty -> Maybe (Value Text)
tokenEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
userInfoEndpoint :: OidcOptionsProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
userInfoEndpoint :: Maybe (Value Text)
..}
    = OidcOptionsProperty
        {userInfoEndpoint :: Maybe (Value Text)
userInfoEndpoint = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UserInfoEndpoint" OidcOptionsProperty
Value Text
newValue, Maybe (Value Text)
()
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
haddock_workaround_ :: ()
authorizationEndpoint :: Maybe (Value Text)
clientId :: Maybe (Value Text)
clientSecret :: Maybe (Value Text)
issuer :: Maybe (Value Text)
scope :: Maybe (Value Text)
tokenEndpoint :: Maybe (Value Text)
..}