LctvApiCredentials.inc.example 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php
  2. /**
  3. * User-defined LiveEdu.tv API credentials.
  4. *
  5. * @package LctvApi\Credentials
  6. * @since 0.0.3
  7. * @version 0.0.9
  8. */
  9. /** Set client id.
  10. * This must match your app client id defined on the LCTV API website.
  11. */
  12. define( 'LCTV_CLIENT_ID', 'YOUR_LCTV_CLIENT_ID' );
  13. /** Set client secret.
  14. * This must match your app client secret defined on the LCTV API website.
  15. */
  16. define( 'LCTV_CLIENT_SECRET', 'YOUR_LCTV_CLIENT_SECRET' );
  17. /** Set API redirect url.
  18. * For the default installation this is public path to authorize.php.
  19. * This must match one that you defined on the LCTV API website.
  20. */
  21. define( 'LCTV_REDIRECT_URL', 'YOUR_LCTV_REDIRECT_URL' );
  22. /** Set master account name to access public api information. */
  23. define( 'LCTV_MASTER_USER', 'YOUR_LCTV_USER_NAME' );
  24. /** Set data store class. ex: LctvApiDataStoreFlatFiles or LctvApiDataStoreMySQL */
  25. define( 'LCTVAPI_STORAGE_CLASS', 'LctvApiDataStoreFlatFiles' );
  26. /**
  27. * Set path for flat file data storage.
  28. * This directory must be writable by the webserver user (e.g. www-data)
  29. */
  30. define( 'LCTVAPI_STORAGE_PATH', __DIR__ . '/tokens/' );
  31. /**
  32. * Set cache expire time.
  33. */
  34. define( 'LCTVAPI_CACHE_EXPIRES_IN', 300 );
  35. /**
  36. * MySQL Data Store Settings.
  37. */
  38. /** Set database name. */
  39. define( 'LCTVAPI_DB_NAME', '' );
  40. /** Set database user. */
  41. define( 'LCTVAPI_DB_USER', '' );
  42. /** Set database password. */
  43. define( 'LCTVAPI_DB_PASSWORD', '' );
  44. /** Set database host. */
  45. define( 'LCTVAPI_DB_HOST', '' );