API platform providing all kinds of data for various apps and services.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
517 B

  1. <?php
  2. /*
  3. * This Source Code Form is subject to the terms of the Mozilla Public
  4. * License, v. 2.0. If a copy of the MPL was not distributed with this
  5. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  6. */
  7. /**
  8. * This function is called before processing an API request, to determine if the request
  9. * should be processed. It should check API keys to make sure the request is allowed.
  10. * @return bool true to let the request in, false otherwise
  11. */
  12. function authenticaterequest(): bool {
  13. return true;
  14. }