com.smartling.api.sdk.auth.ExistingTokenProvider Maven / Gradle / Ivy
package com.smartling.api.sdk.auth;
import com.smartling.api.sdk.exceptions.SmartlingApiException;
public class ExistingTokenProvider implements TokenProvider
{
private final AuthenticationToken authenticationToken;
public ExistingTokenProvider(final AuthenticationToken authenticationToken)
{
this.authenticationToken = authenticationToken;
}
@Override public AuthenticationToken getAuthenticationToken() throws SmartlingApiException
{
return authenticationToken;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy