<commit_before>package org.qfox.jestful.client.auth;

import java.util.Map;

/**
 * Created by Payne on 2017/10/20.
 */
public interface Challenge {

    Provoker getProvoker();

    String getAlgorithm();

    String getRealm();

    Map<String, String> getParameters();

}<commit_msg>Client Promise Pattern Supports<commit_after>package org.qfox.jestful.client.auth;

import java.io.Serializable;
import java.util.Map;

/**
 * Created by Payne on 2017/10/20.
 */
public class Challenge implements Serializable {
    private static final long serialVersionUID = 1139030198376990893L;

    private final Provoker provoker;
    private final String algorithm;
    private final String realm;
    private final Map<String, String> properties;

    public Challenge(Provoker provoker, String algorithm, String realm, Map<String, String> properties) {
        this.provoker = provoker;
        this.algorithm = algorithm;
        this.realm = realm;
        this.properties = properties;
    }

    public static Challenge valueOf(String authenticate) {
        return null;
    }

    public Provoker getProvoker() {
        return provoker;
    }

    public String getAlgorithm() {
        return algorithm;
    }

    public String getRealm() {
        return realm;
    }

    public Map<String, String> getProperties() {
        return properties;
    }
}
{'fraction_non_alphanumeric': 0.08916728076639646, 'fraction_numerical': 0.025792188651436992, 'mean_word_length': 3.005899705014749, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1695897', 'n_tokens_mistral': 410, 'n_tokens_neox': 367, 'n_words': 109}