2010-09-22 19:04:10 +02:00
|
|
|
package com.google.refine.oauth;
|
2010-04-21 23:08:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
public abstract class Provider {
|
|
|
|
|
|
|
|
protected String host;
|
|
|
|
|
|
|
|
public Provider(String host) {
|
|
|
|
this.host = host;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getHost() {
|
|
|
|
return host;
|
|
|
|
}
|
|
|
|
|
|
|
|
abstract public String getRequestTokenServiceURL();
|
|
|
|
abstract public String getAccessTokenServiceURL();
|
|
|
|
abstract public String getUserAuthorizationURL();
|
|
|
|
}
|