shibboleth_config.class.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. namespace Shibboleth;
  3. /**
  4. * Shibboleth configuration. All configuration for the Shibboleth authentication
  5. * plugin: field names mapping, etc.
  6. *
  7. * @license see /license.txt
  8. * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
  9. */
  10. class ShibbolethConfig
  11. {
  12. public $unique_id = '';
  13. public $firstname = '';
  14. public $lastname = '';
  15. public $email = '';
  16. public $language = '';
  17. public $gender = '';
  18. public $address = '';
  19. public $staff_category = '';
  20. public $home_organization_type = '';
  21. public $home_organization = '';
  22. public $affiliation = '';
  23. public $persistent_id = '';
  24. public $default_status = Shibboleth::UNKNOWN_STATUS;
  25. /**
  26. * Mapping of affiliation => right
  27. * @var array
  28. */
  29. public $affiliation_status = array();
  30. /**
  31. * Mapping of affiliation => bool. Display the request status form.
  32. * @var array
  33. */
  34. public $affiliation_status_request = array();
  35. /**
  36. * List of fields to update when the user already exists field_name => boolean.
  37. * @var array
  38. */
  39. public $update_fields = array();
  40. /*
  41. * True if email is mandatory. False otherwise.
  42. */
  43. public $is_email_mandatory = true;
  44. /**
  45. * The email of the shibboleth administrator.
  46. *
  47. * @var string
  48. */
  49. public $admnistrator_email = '';
  50. }