Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data SlackConnectorProfileCredentials = SlackConnectorProfileCredentials' {}
- newSlackConnectorProfileCredentials :: Text -> Text -> SlackConnectorProfileCredentials
- slackConnectorProfileCredentials_accessToken :: Lens' SlackConnectorProfileCredentials (Maybe Text)
- slackConnectorProfileCredentials_oAuthRequest :: Lens' SlackConnectorProfileCredentials (Maybe ConnectorOAuthRequest)
- slackConnectorProfileCredentials_clientId :: Lens' SlackConnectorProfileCredentials Text
- slackConnectorProfileCredentials_clientSecret :: Lens' SlackConnectorProfileCredentials Text
Documentation
data SlackConnectorProfileCredentials Source #
The connector-specific profile credentials required when using Slack.
See: newSlackConnectorProfileCredentials
smart constructor.
SlackConnectorProfileCredentials' | |
|
Instances
newSlackConnectorProfileCredentials Source #
Create a value of SlackConnectorProfileCredentials
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:SlackConnectorProfileCredentials'
, slackConnectorProfileCredentials_accessToken
- The credentials used to access protected Slack resources.
$sel:oAuthRequest:SlackConnectorProfileCredentials'
, slackConnectorProfileCredentials_oAuthRequest
- The OAuth requirement needed to request security tokens from the
connector endpoint.
$sel:clientId:SlackConnectorProfileCredentials'
, slackConnectorProfileCredentials_clientId
- The identifier for the client.
$sel:clientSecret:SlackConnectorProfileCredentials'
, slackConnectorProfileCredentials_clientSecret
- The client secret used by the OAuth client to authenticate to the
authorization server.
slackConnectorProfileCredentials_accessToken :: Lens' SlackConnectorProfileCredentials (Maybe Text) Source #
The credentials used to access protected Slack resources.
slackConnectorProfileCredentials_oAuthRequest :: Lens' SlackConnectorProfileCredentials (Maybe ConnectorOAuthRequest) Source #
The OAuth requirement needed to request security tokens from the connector endpoint.
slackConnectorProfileCredentials_clientId :: Lens' SlackConnectorProfileCredentials Text Source #
The identifier for the client.
slackConnectorProfileCredentials_clientSecret :: Lens' SlackConnectorProfileCredentials Text Source #
The client secret used by the OAuth client to authenticate to the authorization server.