federator/php/cache/cache.php

25 lines
634 B
PHP
Raw Normal View History

2024-07-17 11:47:48 +02:00
<?php
/**
* SPDX-FileCopyrightText: 2024 Sascha Nitsch (grumpydeveloper) https://contentnation.net/@grumpydevelop
* SPDX-License-Identifier: GPL-3.0-or-later
*
* @author Sascha Nitsch (grumpydeveloper)
**/
namespace Federator\Cache;
/**
* base class for remote authentication
*/
interface Cache extends \Federator\Connector\Connector
{
/**
* save remote user by given session
* @param string $_session session id
* @param string $_user user/profile name
* @aramm \Federator\Data\User $user user data
* @return void
2024-07-17 11:47:48 +02:00
*/
public function saveRemoteUserBySession($_session, $_user, $user);
2024-07-17 11:47:48 +02:00
}