public abstract class AbstractDownloaderCredentials extends java.lang.Object implements DownloaderCredentials
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
providerName |
protected java.lang.String |
serviceUrl |
Modifier | Constructor and Description |
---|---|
protected |
AbstractDownloaderCredentials(java.lang.String providerName,
java.lang.String serviceUrl) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProviderName() |
java.lang.String |
getServiceUrl() |
boolean |
isAuthorizationTokenExpired() |
boolean |
isCompatible(DownloaderAuthenticationConfig config) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createCredentials, createCredentials, getAuthorizationToken, getUserid
protected final java.lang.String providerName
protected final java.lang.String serviceUrl
protected AbstractDownloaderCredentials(java.lang.String providerName, java.lang.String serviceUrl)
public java.lang.String getProviderName()
getProviderName
in interface DownloaderCredentials
public java.lang.String getServiceUrl()
getServiceUrl
in interface DownloaderCredentials
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isAuthorizationTokenExpired()
isAuthorizationTokenExpired
in interface DownloaderCredentials
public boolean isCompatible(DownloaderAuthenticationConfig config)
isCompatible
in interface DownloaderCredentials