| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppFlow.Types.OAuthCredentials
Description
Synopsis
- data OAuthCredentials = OAuthCredentials' {}
- newOAuthCredentials :: Text -> Text -> OAuthCredentials
- oAuthCredentials_accessToken :: Lens' OAuthCredentials (Maybe Text)
- oAuthCredentials_oAuthRequest :: Lens' OAuthCredentials (Maybe ConnectorOAuthRequest)
- oAuthCredentials_refreshToken :: Lens' OAuthCredentials (Maybe Text)
- oAuthCredentials_clientId :: Lens' OAuthCredentials Text
- oAuthCredentials_clientSecret :: Lens' OAuthCredentials Text
Documentation
data OAuthCredentials Source #
The OAuth credentials required for OAuth type authentication.
See: newOAuthCredentials smart constructor.
Constructors
| OAuthCredentials' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> OAuthCredentials |
Create a value of OAuthCredentials 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:accessToken:OAuthCredentials', oAuthCredentials_accessToken - The access token used to access protected SAPOData resources.
$sel:oAuthRequest:OAuthCredentials', oAuthCredentials_oAuthRequest - The OAuth requirement needed to request security tokens from the
connector endpoint.
$sel:refreshToken:OAuthCredentials', oAuthCredentials_refreshToken - The refresh token used to refresh expired access token.
$sel:clientId:OAuthCredentials', oAuthCredentials_clientId - The identifier for the desired client.
$sel:clientSecret:OAuthCredentials', oAuthCredentials_clientSecret - The client secret used by the OAuth client to authenticate to the
authorization server.
oAuthCredentials_accessToken :: Lens' OAuthCredentials (Maybe Text) Source #
The access token used to access protected SAPOData resources.
oAuthCredentials_oAuthRequest :: Lens' OAuthCredentials (Maybe ConnectorOAuthRequest) Source #
The OAuth requirement needed to request security tokens from the connector endpoint.
oAuthCredentials_refreshToken :: Lens' OAuthCredentials (Maybe Text) Source #
The refresh token used to refresh expired access token.
oAuthCredentials_clientId :: Lens' OAuthCredentials Text Source #
The identifier for the desired client.
oAuthCredentials_clientSecret :: Lens' OAuthCredentials Text Source #
The client secret used by the OAuth client to authenticate to the authorization server.