nl.surfnet.coin.api.client
Class OAuthEnvironment

java.lang.Object
  extended by nl.surfnet.coin.api.client.OAuthEnvironment

public class OAuthEnvironment
extends Object

Environment depended variables for connecting to an OAuth OpenSocial endpoint


Field Summary
static String OUT_OF_BOUND_CALLBACK
           
 
Constructor Summary
OAuthEnvironment()
           
 
Method Summary
 String getCallbackUrl()
           
 String getEndpointBaseUrl()
           
 String getOauthKey()
           
 String getOauthSecret()
           
 OAuthVersion getVersion()
           
 void setCallbackUrl(String callbackUrl)
           
 void setEndpointBaseUrl(String endpointBaseUrl)
           
 void setOauthKey(String oauthKey)
           
 void setOauthSecret(String oauthSecret)
           
 void setVersion(OAuthVersion version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUT_OF_BOUND_CALLBACK

public static final String OUT_OF_BOUND_CALLBACK
See Also:
Constant Field Values
Constructor Detail

OAuthEnvironment

public OAuthEnvironment()
Method Detail

getOauthKey

public String getOauthKey()
Returns:
the oauthKey

setOauthKey

public void setOauthKey(String oauthKey)
Parameters:
oauthKey - the oauthKey to set

getOauthSecret

public String getOauthSecret()
Returns:
the oauthSecret

setOauthSecret

public void setOauthSecret(String oauthSecret)
Parameters:
oauthSecret - the oauthSecret to set

getEndpointBaseUrl

public String getEndpointBaseUrl()
Returns:
the endpointBaseUrl

setEndpointBaseUrl

public void setEndpointBaseUrl(String endpointBaseUrl)
Parameters:
endpointBaseUrl - the endpointBaseUrl to set

getCallbackUrl

public String getCallbackUrl()
Returns:
the callbackUrl

setCallbackUrl

public void setCallbackUrl(String callbackUrl)
Parameters:
callbackUrl - the callbackUrl to set

getVersion

public OAuthVersion getVersion()

setVersion

public void setVersion(OAuthVersion version)


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.