final class NullApiAuthenticator implements ApiAuthenticatorInterface (View source)

Provides fail-closed authentication when no API credential mechanism is configured.

Methods

authenticate(ServerRequestInterface $request)

Always returns null and never derives identity from request metadata.

Details

authenticate

ApiIdentity|null authenticate(ServerRequestInterface $request)

Always returns null and never derives identity from request metadata.

Parameters

ServerRequestInterface $request

Return Value

ApiIdentity|null