Moodle authentication plugin for Macaroons

auth_macaroons.php 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // This file is part of Moodle - http://moodle.org/
  3. //
  4. // Moodle is free software: you can redistribute it and/or modify
  5. // it under the terms of the GNU General Public License as published by
  6. // the Free Software Foundation, either version 3 of the License, or
  7. // (at your option) any later version.
  8. //
  9. // Moodle is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License
  15. // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
  16. /**
  17. * Strings for component 'auth_macaroons', language 'en'.
  18. *
  19. * @package auth_macaroons
  20. * @copyright 2017 onwards Brendan Abolivier
  21. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  22. */
  23. $string['auth_macaroonsdescription'] = 'Macaroons usage for authentication';
  24. $string['pluginname'] = 'Macaroons';
  25. $string['cookie_name_label'] = 'Cookie name';
  26. $string['cookie_name_help'] = 'Name of the cookie your macaroon is located in.';
  27. $string['secret_label'] = 'Secret';
  28. $string['secret_help'] = 'The secret your macaroon was signed with.';
  29. $string['identifier_format_label'] = 'Identifier format';
  30. $string['identifier_format_help'] = 'Your Macaroon\'s identifier format. Available placeholders are {{username}}, {{firstname}}, {{lastname}}. Elements must me delimited with semicolons (";").<br />eg: {{firstname}};{{lastname}}';
  31. $string['email_config_label'] = 'E-mail template';
  32. $string['email_config_help'] = 'Template for emails. Available placeholders are {{firstname}} and {{lastname}}.<br />eg: {{firstname}}.{{lastname}}@company.tld';
  33. $string['caveat1_condition_label'] = 'First caveat condition (optional)';
  34. $string['caveat1_condition_help'] = 'The condition in your macaroon\'s first caveat.';
  35. $string['caveat2_condition_label'] = 'Second caveat condition (optional)';
  36. $string['caveat2_condition_help'] = 'The condition in your macaroon\'s second caveat';
  37. $string['caveat3_condition_label'] = 'Third caveat condition (optional)';
  38. $string['caveat3_condition_help'] = 'The condition in your macaroon\'s third caveat';