The central App class allows for easy retrieval of various client information such as IP address, user agent, geoip information, plus any available authenticated user and session data. The gathering of this data is always automated, and available in every request.
Below shows the methods that are available pertaining to this information:
- getClient (): ClientInfo
- isAuth (): bool
- getUuid (): string
- getUser (): ?ArmorUserInterface
- getSession (): ?AuthSession
- getArea (): string