Optional ReadonlybaseOverride the base URL of the target server.
Optional ReadonlyemailOverride the user email.
Optional ReadonlypasswordOverride the user password.
Optional ReadonlycacheCustom directory for session cache.
Optional ReadonlymaxMaximum number of retry attempts for HTTP requests.
Optional ReadonlyretryInitial retry delay in milliseconds (doubles each retry).
Optional ReadonlytimeoutRequest timeout in milliseconds.
Optional ReadonlysendWhether to send the Referer header in requests.
Optional ReadonlysendWhether to send the Origin header in requests.
Configuration options for the
AuthClient.Remarks
All fields are optional. If omitted, the client reads from environment
variables (
.envfile orBun.env). Explicit constructor options takeprecedence over environment variables.
Since
0.1.1