INamedToken.php 358 B

12345678910111213141516171819
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. namespace OC\Authentication\Token;
  8. interface INamedToken extends IToken {
  9. /**
  10. * Set token name
  11. *
  12. * @param string $name
  13. * @return void
  14. */
  15. public function setName(string $name): void;
  16. }