interface ApiAuthenticatorInterface (View source)

Verifies request credentials and returns only identity claims established by that verification.

Implementations own credential transport and may assign internal trust only from authenticated evidence.

Methods

authenticate(ServerRequestInterface $request)

Returns the verified identity for the request, or null when authentication cannot be established.

Details

authenticate

ApiIdentity|null authenticate(ServerRequestInterface $request)

Returns the verified identity for the request, or null when authentication cannot be established.

Parameters

ServerRequestInterface $request

Return Value

ApiIdentity|null