40 lines
731 B
PHP
40 lines
731 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
namespace KTXF\Mail\Service;
|
|
|
|
/**
|
|
* Mail Service Basic Authentication Identity Interface
|
|
*
|
|
* Username/password authentication for traditional mail services.
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
interface IServiceIdentityBasic extends IServiceIdentity {
|
|
|
|
/**
|
|
* Gets the username/login identifier
|
|
*
|
|
* @since 2025.05.01
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getUsername(): string;
|
|
|
|
/**
|
|
* Gets the password/secret
|
|
*
|
|
* @since 2025.05.01
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getPassword(): string;
|
|
|
|
}
|