42 lines
762 B
PHP
42 lines
762 B
PHP
<?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 Bearer
|
|
*
|
|
* Bearer token authentication credentials for resource services.
|
|
*
|
|
* @since 2025.05.01
|
|
*/
|
|
interface ResourceServiceIdentityBearer extends ResourceServiceIdentityInterface {
|
|
|
|
/**
|
|
* Gets the bearer token
|
|
*
|
|
* @since 2025.05.01
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getToken(): string;
|
|
|
|
/**
|
|
* Sets the bearer token
|
|
*
|
|
* @since 2025.05.01
|
|
*
|
|
* @param string $value
|
|
*
|
|
* @return void
|
|
*/
|
|
public function setToken(string $value): void;
|
|
|
|
}
|