type
LoginOptions
Request metadata and cookie-independent controls for local login.
Properties
| Property | Type | Description |
|---|---|---|
IPAddress | string | Direct or trusted-forwarded client address recorded for the session. |
UserAgent | string | Untrusted client user-agent string recorded for session management. |
How it works
Transports should derive IPAddress only after applying their trusted-proxy policy. These values are session metadata, not authentication factors.
Full signature
type LoginOptions struct {
// IPAddress is the direct or trusted-forwarded client address.
IPAddress string
// UserAgent is the untrusted client user-agent string.
UserAgent string
}