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 |
Documentation
data BasicAuthCredentials Source #
The basic auth credentials required for basic authentication.
See: newBasicAuthCredentials
smart constructor.
Instances
newBasicAuthCredentials Source #
:: Text | |
-> Text | |
-> BasicAuthCredentials |
Create a value of BasicAuthCredentials
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:username:BasicAuthCredentials'
, basicAuthCredentials_username
- The username to use to connect to a resource.
$sel:password:BasicAuthCredentials'
, basicAuthCredentials_password
- The password to use to connect to a resource.
basicAuthCredentials_username :: Lens' BasicAuthCredentials Text Source #
The username to use to connect to a resource.
basicAuthCredentials_password :: Lens' BasicAuthCredentials Text Source #
The password to use to connect to a resource.