type

LoginOptions

type LoginOptions struct { // IPAddress is the direct or trusted-forwarded client address. IPAddress string // UserAgent is the untrusted client user-agent string. UserAgent string }

Request metadata and cookie-independent controls for local login.

Source core/auth.go:77

IPAddressstring
Direct or trusted-forwarded client address recorded for the session.
UserAgentstring
Untrusted client user-agent string recorded for session management.

Transports should derive IPAddress only after applying their trusted-proxy policy. These values are session metadata, not authentication factors.