2010-08-04 01:01:18 +02:00
|
|
|
package com.google.gridworks.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();
|
|
|
|
}
|