1<?php 2 3/** 4 * This file is part of the FreeDSx LDAP package. 5 * 6 * (c) Chad Sikorra <Chad.Sikorra@gmail.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12namespace FreeDSx\Ldap\Server\Token; 13 14/** 15 * Represents a generic authentication token. 16 * 17 * @author Chad Sikorra <Chad.Sikorra@gmail.com> 18 */ 19interface TokenInterface 20{ 21 /** 22 * @return null|string 23 */ 24 public function getUsername(): ?string; 25 26 /** 27 * @return null|string 28 */ 29 public function getPassword(): ?string; 30 31 /** 32 * @return int 33 */ 34 public function getVersion(): int; 35} 36