All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ebay.identity.oauth2.token.models.Token Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.ebay.identity.oauth2.token.models;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Token {

	@XmlElement(name = "access_token")
	private String accessToken;
	@XmlElement(name = "token_type")
	private String tokenType;
	@XmlElement(name = "expires_in")
	private int expiresIn;
	@XmlElement(name = "refresh_token")
	private String refreshToken;
	@XmlElement(name = "refresh_token_expires_in")
	private int refreshTokenExpiresIn;

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getTokenType() {
		return tokenType;
	}

	public void setTokenType(String tokenType) {
		this.tokenType = tokenType;
	}

	public int getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken;
	}

	public int getRefreshTokenExpiresIn() {
		return refreshTokenExpiresIn;
	}

	public void setRefreshTokenExpiresIn(int refreshTokenExpiresIn) {
		this.refreshTokenExpiresIn = refreshTokenExpiresIn;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy