<commit_before>package uk.bl.odin.orcid.client;

/**
 * Models the OAuth token response from ORCID. example:
 * {"access_token":"45<PASSWORD>-<PASSWORD>",
 * "token_type":"bearer", "refresh_token":"<PASSWORD>"
 * , "expires_in":3599, "scope":"/orcid-works/update",
 * "orcid":"0000-0003-1495-7122"}
 * 
 * @author tom
 * 
 */
public class OrcidAccessToken {

	private String access_token;
	private String token_type;
	private String refresh_token;
	private int expires_in;
	private String scope;
	private String orcid;

	// keeps track of doc requested by user. optional.
	private String state;

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public String getToken_type() {<commit_msg>OAuth token response now contains a name<commit_after>package uk.bl.odin.orcid.client;

/**
 * Models the OAuth token response from ORCID. example:
 * {
 *      "name":"<NAME>"
 *      "access_token":"45<PASSWORD>",
 *      "expires_in":3599, "scope":"/orcid-works/update",
 *      "token_type":"bearer",
 *      "orcid":"0000-0003-1495-7122",
 *      "scope":"/orcid-profile/read-limited"
 * }
 * 
 * @author tom
 * 
 */
public class OrcidAccessToken {

	private String name;
	private String access_token;
	private String token_type;
	private String refresh_token;
	private int expires_in;
	private String scope;
	private String orcid;

	// keeps track of doc requested by user. optional.
	private String state;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public String getToken_type() {
{'fraction_non_alphanumeric': 0.12277777777777778, 'fraction_numerical': 0.024444444444444446, 'mean_word_length': 4.131054131054131, 'pattern_counts': {'":': 13, '<': 8, '<?xml version=': 0, '>': 8, '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': '529831', 'n_tokens_mistral': 638, 'n_tokens_neox': 588, 'n_words': 149}