libZSservicesZSamazonka-appflowZSamazonka-appflow
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppFlow.Types.OAuthProperties

Description

 
Synopsis

Documentation

data OAuthProperties Source #

The OAuth properties required for OAuth type authentication.

See: newOAuthProperties smart constructor.

Constructors

OAuthProperties' 

Fields

  • tokenUrl :: Text

    The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

  • authCodeUrl :: Text

    The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

  • oAuthScopes :: [Text]

    The OAuth scopes required for OAuth type authentication.

Instances

Instances details
Eq OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

Read OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

Show OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

Generic OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

Associated Types

type Rep OAuthProperties :: Type -> Type #

NFData OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

Methods

rnf :: OAuthProperties -> () #

Hashable OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

ToJSON OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

FromJSON OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

type Rep OAuthProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.OAuthProperties

type Rep OAuthProperties = D1 ('MetaData "OAuthProperties" "Amazonka.AppFlow.Types.OAuthProperties" "libZSservicesZSamazonka-appflowZSamazonka-appflow" 'False) (C1 ('MetaCons "OAuthProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tokenUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "authCodeUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "oAuthScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newOAuthProperties Source #

Create a value of OAuthProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tokenUrl:OAuthProperties', oAuthProperties_tokenUrl - The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

$sel:authCodeUrl:OAuthProperties', oAuthProperties_authCodeUrl - The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

$sel:oAuthScopes:OAuthProperties', oAuthProperties_oAuthScopes - The OAuth scopes required for OAuth type authentication.

oAuthProperties_tokenUrl :: Lens' OAuthProperties Text Source #

The token url required to fetch access/refresh tokens using authorization code and also to refresh expired access token using refresh token.

oAuthProperties_authCodeUrl :: Lens' OAuthProperties Text Source #

The authorization code url required to redirect to SAP Login Page to fetch authorization code for OAuth type authentication.

oAuthProperties_oAuthScopes :: Lens' OAuthProperties [Text] Source #

The OAuth scopes required for OAuth type authentication.