Client Information
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:
Getter Methods
- getClient (): ClientInfo
- isAuth (): bool
- getUuid (): string
- getUser (): ?ArmorUserInterface
- getSession (): ?AuthSession
- getArea (): string
Setter Methods
- setUuid (string $uuid_: void
- setUser (ArmorUserInterface $user): void
- setSession (AuthSession $session): void
- setArea (string $area): void