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

com.iobeam.api.auth.TokenRefresh Maven / Gradle / Ivy

There is a newer version: 0.6.1
Show newest version
package com.iobeam.api.auth;

import com.iobeam.api.resource.annotations.JsonProperty;

import java.io.Serializable;

public class TokenRefresh implements Serializable {

    private final String token;

    public TokenRefresh(String oldToken) {
        this.token = oldToken;
    }

    @JsonProperty("refresh_token")
    public String getRefreshToken() {
        return token;
    }

    @Override
    public String toString() {
        return "TokenRefresh{" +
               "refresh_token='" + token + "'" +
               "}";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy