final class StaticBearerTokenAuthenticator implements ApiAuthenticatorInterface (View source)

Methods

__construct(string|null $token, array $scopes = [])
authenticate(ServerRequestInterface $request)

Details

__construct

__construct(string|null $token, array $scopes = [])

No description

Parameters

string|null $token
array $scopes

authenticate

ApiIdentity|null authenticate(ServerRequestInterface $request)

No description

Parameters

ServerRequestInterface $request

Return Value

ApiIdentity|null