Android Open Source - Joetz-Android-V2 Auth Token

From Project

Back to project page Joetz-Android-V2.


The source code is released under:

GNU General Public License

If you think the Android project Joetz-Android-V2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.jens.myapplication.apimanager.manager;
//w  w  w. ja v a2  s  .  c om
import com.fasterxml.jackson.annotation.JsonProperty;

 * Created by Sam on 23/10/2014.
public class AuthToken {

    private String token;

    private String tokenType;

     * Time in seconds
    private long expiresIn;

    private String userEmail;

    //date format atm
    private String issuedDate;

    //date format atm
    private String expiresDate;

    public String getToken() {
        return token;

    private void setToken(String token) {
        this.token = token;

    public String getTokenType() {
        return tokenType;

    private void setTokenType(String tokenType) {
        this.tokenType = tokenType;

    public long getExpiresIn() {
        return expiresIn;

    private void setExpiresIn(long expiresIn) {
        this.expiresIn = expiresIn;

    public String getUserEmail() {
        return userEmail;

    private void setUserEmail(String userEmail) {
        this.userEmail = userEmail;

    public String getIssuedDate() {
        return issuedDate;

    private void setIssuedDate(String issuedDate) {
        this.issuedDate = issuedDate;

    public String getExpiresDate() {
        return expiresDate;

    private void setExpiresDate(String expiresDate) {
        this.expiresDate = expiresDate;

Java Source Code List