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 OAuth2Credentials = OAuth2Credentials' {}
- newOAuth2Credentials :: OAuth2Credentials
- oAuth2Credentials_accessToken :: Lens' OAuth2Credentials (Maybe Text)
- oAuth2Credentials_clientId :: Lens' OAuth2Credentials (Maybe Text)
- oAuth2Credentials_clientSecret :: Lens' OAuth2Credentials (Maybe Text)
- oAuth2Credentials_oAuthRequest :: Lens' OAuth2Credentials (Maybe ConnectorOAuthRequest)
- oAuth2Credentials_refreshToken :: Lens' OAuth2Credentials (Maybe Text)
Documentation
data OAuth2Credentials Source #
The OAuth 2.0 credentials required for OAuth 2.0 authentication.
See: newOAuth2Credentials
smart constructor.
OAuth2Credentials' | |
|
Instances
newOAuth2Credentials :: OAuth2Credentials Source #
Create a value of OAuth2Credentials
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:OAuth2Credentials'
, oAuth2Credentials_accessToken
- The access token used to access the connector on your behalf.
$sel:clientId:OAuth2Credentials'
, oAuth2Credentials_clientId
- The identifier for the desired client.
$sel:clientSecret:OAuth2Credentials'
, oAuth2Credentials_clientSecret
- The client secret used by the OAuth client to authenticate to the
authorization server.
$sel:oAuthRequest:OAuth2Credentials'
, oAuth2Credentials_oAuthRequest
- Undocumented member.
$sel:refreshToken:OAuth2Credentials'
, oAuth2Credentials_refreshToken
- The refresh token used to refresh an expired access token.
oAuth2Credentials_accessToken :: Lens' OAuth2Credentials (Maybe Text) Source #
The access token used to access the connector on your behalf.
oAuth2Credentials_clientId :: Lens' OAuth2Credentials (Maybe Text) Source #
The identifier for the desired client.
oAuth2Credentials_clientSecret :: Lens' OAuth2Credentials (Maybe Text) Source #
The client secret used by the OAuth client to authenticate to the authorization server.
oAuth2Credentials_oAuthRequest :: Lens' OAuth2Credentials (Maybe ConnectorOAuthRequest) Source #
Undocumented member.
oAuth2Credentials_refreshToken :: Lens' OAuth2Credentials (Maybe Text) Source #
The refresh token used to refresh an expired access token.