Module: Otto::EnvKeys::Privacy

Defined in:
lib/otto/env_keys.rb

Overview

Privacy-safe masked IP address Type: String (e.g., ‘192.168.1.0’) Set by: IPPrivacyMiddleware Used by: Rate limiting, analytics, logging

Constant Summary collapse

MASKED_IP =
'otto.privacy.masked_ip'
GEO_COUNTRY =

Geo-location country code Type: String (ISO 3166-1 alpha-2) Set by: IPPrivacyMiddleware Used by: Analytics, localization

'otto.privacy.geo_country'
HASHED_IP =

Daily-rotating IP hash for session correlation Type: String (hexadecimal) Set by: IPPrivacyMiddleware Used by: Session correlation without storing IPs

'otto.privacy.hashed_ip'
FINGERPRINT =

Privacy fingerprint object Type: Otto::Privacy::RedactedFingerprint Set by: IPPrivacyMiddleware Used by: Full privacy context access

'otto.privacy.fingerprint'