IUserProvided.php 537 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  4. * SPDX-License-Identifier: AGPL-3.0-only
  5. */
  6. namespace OCA\Files_External\Lib\Auth;
  7. use OCP\IUser;
  8. /**
  9. * For auth mechanisms where the user needs to provide credentials
  10. */
  11. interface IUserProvided {
  12. /**
  13. * @param IUser $user the user for which to save the user provided options
  14. * @param int $mountId the mount id to save the options for
  15. * @param array $options the user provided options
  16. */
  17. public function saveBackendOptions(IUser $user, $mountId, array $options);
  18. }