<commit_before>package nl.tehdreamteam.se42.web.token;

import nl.tehdreamteam.se42.domain.User;

/**
 * Strategy for generating a token.
 *
 * @author <NAME>
 */
public interface TokenGenerationStrategy {

    /**
     * Generates a {@code String} that can be used a token with the given {@code User}.
     *
     * @param user The {@code User} for which to generate a token.
     * @return A {@code String} that represents a token.
     */
    String generateToken(User user);
}<commit_msg>Made it a functional interface.<commit_after>package nl.tehdreamteam.se42.web.token;

import nl.tehdreamteam.se42.domain.User;

/**
 * Strategy for generating a token.
 *
 * @author <NAME>
 */
@FunctionalInterface
public interface TokenGenerationStrategy {

    /**
     * Generates a {@code String} that can be used a token with the given {@code User}.
     *
     * @param user The {@code User} for which to generate a token.
     * @return A {@code String} that represents a token.
     */
    String generateToken(User user);
}
{'fraction_non_alphanumeric': 0.11143695014662756, 'fraction_numerical': 0.007820136852394917, 'mean_word_length': 3.179591836734694, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7663072', 'n_tokens_mistral': 309, 'n_tokens_neox': 302, 'n_words': 107}