| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* This file is part of the ramsey/uuid library |
| 5 |
* |
| 6 |
* For the full copyright and license information, please view the LICENSE |
| 7 |
* file that was distributed with this source code. |
| 8 |
* |
| 9 |
* @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> |
| 10 |
* @license http://opensource.org/licenses/MIT MIT |
| 11 |
*/ |
| 12 |
declare (strict_types=1); |
| 13 |
namespace Dudlewebs\WPMCS\Ramsey\Uuid\Provider; |
| 14 |
|
| 15 |
use Dudlewebs\WPMCS\Ramsey\Uuid\Rfc4122\UuidV2; |
| 16 |
use Dudlewebs\WPMCS\Ramsey\Uuid\Type\Integer as IntegerObject; |
| 17 |
/** |
| 18 |
* A DCE provider provides access to local domain identifiers for version 2, |
| 19 |
* DCE Security, UUIDs |
| 20 |
* |
| 21 |
* @see UuidV2 |
| 22 |
*/ |
| 23 |
interface DceSecurityProviderInterface |
| 24 |
{ |
| 25 |
/** |
| 26 |
* Returns a user identifier for the system |
| 27 |
* |
| 28 |
* @link https://en.wikipedia.org/wiki/User_identifier User identifier |
| 29 |
*/ |
| 30 |
public function getUid(): IntegerObject; |
| 31 |
/** |
| 32 |
* Returns a group identifier for the system |
| 33 |
* |
| 34 |
* @link https://en.wikipedia.org/wiki/Group_identifier Group identifier |
| 35 |
*/ |
| 36 |
public function getGid(): IntegerObject; |
| 37 |
} |
| 38 |
|