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 |
Synopsis
- data CustomConnectorProfileCredentials = CustomConnectorProfileCredentials' {}
- newCustomConnectorProfileCredentials :: AuthenticationType -> CustomConnectorProfileCredentials
- customConnectorProfileCredentials_apiKey :: Lens' CustomConnectorProfileCredentials (Maybe ApiKeyCredentials)
- customConnectorProfileCredentials_basic :: Lens' CustomConnectorProfileCredentials (Maybe BasicAuthCredentials)
- customConnectorProfileCredentials_custom :: Lens' CustomConnectorProfileCredentials (Maybe CustomAuthCredentials)
- customConnectorProfileCredentials_oauth2 :: Lens' CustomConnectorProfileCredentials (Maybe OAuth2Credentials)
- customConnectorProfileCredentials_authenticationType :: Lens' CustomConnectorProfileCredentials AuthenticationType
Documentation
data CustomConnectorProfileCredentials Source #
The connector-specific profile credentials that are required when using the custom connector.
See: newCustomConnectorProfileCredentials
smart constructor.
CustomConnectorProfileCredentials' | |
|
Instances
newCustomConnectorProfileCredentials Source #
Create a value of CustomConnectorProfileCredentials
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:
CustomConnectorProfileCredentials
, customConnectorProfileCredentials_apiKey
- The API keys required for the authentication of the user.
$sel:basic:CustomConnectorProfileCredentials'
, customConnectorProfileCredentials_basic
- The basic credentials that are required for the authentication of the
user.
$sel:custom:CustomConnectorProfileCredentials'
, customConnectorProfileCredentials_custom
- If the connector uses the custom authentication mechanism, this holds
the required credentials.
$sel:oauth2:CustomConnectorProfileCredentials'
, customConnectorProfileCredentials_oauth2
- The OAuth 2.0 credentials required for the authentication of the user.
$sel:authenticationType:CustomConnectorProfileCredentials'
, customConnectorProfileCredentials_authenticationType
- The authentication type that the custom connector uses for
authenticating while creating a connector profile.
customConnectorProfileCredentials_apiKey :: Lens' CustomConnectorProfileCredentials (Maybe ApiKeyCredentials) Source #
The API keys required for the authentication of the user.
customConnectorProfileCredentials_basic :: Lens' CustomConnectorProfileCredentials (Maybe BasicAuthCredentials) Source #
The basic credentials that are required for the authentication of the user.
customConnectorProfileCredentials_custom :: Lens' CustomConnectorProfileCredentials (Maybe CustomAuthCredentials) Source #
If the connector uses the custom authentication mechanism, this holds the required credentials.
customConnectorProfileCredentials_oauth2 :: Lens' CustomConnectorProfileCredentials (Maybe OAuth2Credentials) Source #
The OAuth 2.0 credentials required for the authentication of the user.
customConnectorProfileCredentials_authenticationType :: Lens' CustomConnectorProfileCredentials AuthenticationType Source #
The authentication type that the custom connector uses for authenticating while creating a connector profile.