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

com.notronix.etsy.impl.authentication.EtsyOAuthCredentials Maven / Gradle / Ivy

There is a newer version: 3.0.0014
Show newest version
package com.notronix.etsy.impl.authentication;

import com.google.api.client.util.Key;
import com.notronix.etsy.api.authentication.Credentials;

public class EtsyOAuthCredentials implements Credentials
{
    @Key("oauth_token")
    public String token;

    @Key("oauth_token_secret")
    public String tokenSecret;

    @Key("oauth_callback_confirmed")
    public Boolean callbackConfirmed;

    @Key("login_url")
    public String loginUrl;

    @Override
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    @Override
    public String getTokenSecret() {
        return tokenSecret;
    }

    public void setTokenSecret(String tokenSecret) {
        this.tokenSecret = tokenSecret;
    }

    @Override
    public Boolean getCallbackConfirmed() {
        return callbackConfirmed;
    }

    public void setCallbackConfirmed(Boolean callbackConfirmed) {
        this.callbackConfirmed = callbackConfirmed;
    }

    @Override
    public String getLoginUrl() {
        return loginUrl;
    }

    public void setLoginUrl(String loginUrl) {
        this.loginUrl = loginUrl;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy