Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 404 Bytes

File metadata and controls

11 lines (7 loc) · 404 Bytes

Slim

Slim applications use PSR-7 request objects. Use SlimRequestContextFactory for a Slim-named adapter, or use the generic PSR-7 request factory directly.

use GlobusStudio\Fingerprint\Integration\Slim\SlimRequestContextFactory;

$context = (new SlimRequestContextFactory())->fromRequest($request);

Trusted proxy handling must be configured explicitly in the fingerprint configuration.