<commit_before><?php
/**
 *
 * This file is part of Aura for PHP.
 *
 * @package Aura.Auth
 *
 * @license http://opensource.org/licenses/bsd-license.php BSD
 *
 */
namespace Aura\Auth\Adapter;

use Aura\Auth\User;

/**
 *
 * Abstract Authentication Storage.
 *
 * @package Aura.Auth
 *
 */
interface AdapterInterface
{
    /**
     *
     * @param mixed $cred
     *
     * @return bool
     *
     */
    public function login(User $user, $cred);

    /**
     *
     * Logout a user resetting all the values
     *
     * @return bool
     *
     */
    public function logout(User $user);
}<commit_msg>update interface<commit_after><?php
/**
 *
 * This file is part of Aura for PHP.
 *
 * @package Aura.Auth
 *
 * @license http://opensource.org/licenses/bsd-license.php BSD
 *
 */
namespace Aura\Auth\Adapter;

use Aura\Auth\User;

/**
 *
 * Abstract Authentication Storage.
 *
 * @package Aura.Auth
 *
 */
interface AdapterInterface
{
    /**
     *
     * Resumes a previous session.
     *
     */
    public function resume(User $user);

    /**
     *
     * @param User $user
     *
     * @param mixed $cred
     *
     * @return null
     *
     */
    public function login(User $user, $cred);

    /**
     *
     * Logout a user resetting all the values
     *
     * @return null
     *
     */
    public function logout(User $user);
}
{'fraction_non_alphanumeric': 0.13693560325684678, 'fraction_numerical': 0.0, 'mean_word_length': 1.991150442477876, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4801758', 'n_tokens_mistral': 449, 'n_tokens_neox': 444, 'n_words': 108}