http.Auth
Credentials for http.Request.auth.
token is sent as Bearer <token>, otherwise username and password as Basic authentication.
Fields
| Name | Type | Description |
|---|---|---|
username? | string | The username for Basic authentication. |
password? | string | The password for Basic authentication. |
token? | string | The token for Bearer authentication. |