com.notronix.etsy.api.authentication.model.Credentials Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JEtsy Show documentation
Show all versions of JEtsy Show documentation
A Java implementation of a Java version of the Etsy API
package com.notronix.etsy.api.authentication.model;
public interface Credentials
{
String getToken();
String getTokenSecret();
String getLoginUrl();
Boolean getCallbackConfirmed();
static Credentials forKeyPair(final String token, final String secret) {
return new Credentials()
{
@Override
public String getToken() {
return token;
}
@Override
public String getTokenSecret() {
return secret;
}
@Override
public String getLoginUrl() {
return null;
}
@Override
public Boolean getCallbackConfirmed() {
return null;
}
};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy