lots of improvements
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
namespace KTXF\Resource\Provider;
|
||||
|
||||
/**
|
||||
* Resource Service Identity Token
|
||||
*
|
||||
* Token authentication credentials for resource services.
|
||||
* Uses a single static token/key for authentication.
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*/
|
||||
interface ResourceServiceIdentityToken extends ResourceServiceIdentityInterface {
|
||||
|
||||
/**
|
||||
* Gets the authentication token
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getToken(): string;
|
||||
|
||||
/**
|
||||
* Sets the authentication token
|
||||
*
|
||||
* @since 2025.05.01
|
||||
*
|
||||
* @param string $value
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setToken(string $value): void;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user