edu.utexas.tacc.tapis.tokens.client.model.TapisAccessToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tokens-client Show documentation
Show all versions of tokens-client Show documentation
Java client for Tokens Service
package edu.utexas.tacc.tapis.tokens.client.model;
import org.apache.commons.lang3.StringUtils;
public final class TapisAccessToken
extends TapisBaseToken
{
// Fields.
private String accessToken; // serialized token
// Accessors.
public String getAccessToken() {return accessToken;}
public void setAccessToken(String accessToken) {this.accessToken = accessToken;}
// Make all fields are filled in.
@Override
public boolean isValid() {
if (StringUtils.isBlank(accessToken)) return false;
return super.isValid();
}
}