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 OAuthProperties = OAuthProperties' {
- tokenUrl :: Text
- authCodeUrl :: Text
- oAuthScopes :: [Text]
- newOAuthProperties :: Text -> Text -> OAuthProperties
- oAuthProperties_tokenUrl :: Lens' OAuthProperties Text
- oAuthProperties_authCodeUrl :: Lens' OAuthProperties Text
- oAuthProperties_oAuthScopes :: Lens' OAuthProperties [Text]
Documentation
data OAuthProperties Source #
The OAuth properties required for OAuth type authentication.
See: newOAuthProperties
smart constructor.
OAuthProperties' | |
|
Instances
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.