nl.surfnet.coin.api.playground
Class ApiSettings

java.lang.Object
  extended by nl.surfnet.coin.api.playground.ApiSettings

public class ApiSettings
extends Object

Backing form object for all OAuth calls from the Test Framework


Constructor Summary
ApiSettings()
           
 
Method Summary
 String getAccessTokenEndPoint()
           
 String getAccessTokenEndPoint2()
           
 String getAccessTokenRequestOption()
           
 String getAuthorizationURL()
           
 String getAuthorizationURL2()
           
 int getCount()
           
 String getOauthKey()
           
 String getOauthSecret()
           
 String getParseAnchorForAccesstoken()
           
 org.scribe.model.Token getRequestToken()
           
 String getRequestTokenEndPoint()
           
 String getRequestURL()
           
 String getSortBy()
           
 int getStartIndex()
           
 String getStep()
           
 String getVersion()
           
 boolean isImplicitGrant()
           
 boolean isImplicitGrantOauth()
           
 boolean isOAuth10a()
           
 boolean isQueryParameters()
           
 boolean isTwoLegged()
           
 boolean isTwoLeggedOauth()
           
 void setAccessTokenEndPoint(String accessTokenEndPoint)
           
 void setAccessTokenEndPoint2(String accessTokenEndPoint2)
           
 void setAccessTokenRequestOption(String accessTokenRequestOption)
           
 void setAuthorizationURL(String authorizationURL)
           
 void setAuthorizationURL2(String authorizationURL2)
           
 void setCount(int count)
           
 void setImplicitGrant(boolean implicitGrant)
           
 void setOauthKey(String oauthKey)
           
 void setOauthSecret(String oauthSecret)
           
 void setParseAnchorForAccesstoken(String parseAnchorForAccesstoken)
           
 void setQueryParameters(boolean queryParameters)
           
 void setRequestToken(org.scribe.model.Token requestToken)
           
 void setRequestTokenEndPoint(String requestTokenEndPoint)
           
 void setRequestURL(String requestURL)
           
 void setSortBy(String sortBy)
           
 void setStartIndex(int startIndex)
           
 void setStep(String step)
           
 void setTwoLegged(boolean twoLegged)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiSettings

public ApiSettings()
Method Detail

getCount

public int getCount()

setCount

public void setCount(int count)

getStartIndex

public int getStartIndex()

setStartIndex

public void setStartIndex(int startIndex)

getSortBy

public String getSortBy()

setSortBy

public void setSortBy(String sortBy)

getRequestToken

public org.scribe.model.Token getRequestToken()

setRequestToken

public void setRequestToken(org.scribe.model.Token requestToken)

getStep

public String getStep()

setStep

public void setStep(String step)

getAuthorizationURL

public String getAuthorizationURL()

setAuthorizationURL

public void setAuthorizationURL(String authorizationURL)

getOauthKey

public String getOauthKey()

setOauthKey

public void setOauthKey(String oauthKey)

getOauthSecret

public String getOauthSecret()

setOauthSecret

public void setOauthSecret(String oauthSecret)

isTwoLegged

public boolean isTwoLegged()

isTwoLeggedOauth

public boolean isTwoLeggedOauth()

isOAuth10a

public boolean isOAuth10a()

setTwoLegged

public void setTwoLegged(boolean twoLegged)

getRequestTokenEndPoint

public String getRequestTokenEndPoint()

setRequestTokenEndPoint

public void setRequestTokenEndPoint(String requestTokenEndPoint)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getAccessTokenEndPoint

public String getAccessTokenEndPoint()

setAccessTokenEndPoint

public void setAccessTokenEndPoint(String accessTokenEndPoint)

getAccessTokenEndPoint2

public String getAccessTokenEndPoint2()

setAccessTokenEndPoint2

public void setAccessTokenEndPoint2(String accessTokenEndPoint2)

isImplicitGrant

public boolean isImplicitGrant()

isImplicitGrantOauth

public boolean isImplicitGrantOauth()

setImplicitGrant

public void setImplicitGrant(boolean implicitGrant)

getAuthorizationURL2

public String getAuthorizationURL2()

setAuthorizationURL2

public void setAuthorizationURL2(String authorizationURL2)

getRequestURL

public String getRequestURL()

setRequestURL

public void setRequestURL(String requestURL)

getParseAnchorForAccesstoken

public String getParseAnchorForAccesstoken()

setParseAnchorForAccesstoken

public void setParseAnchorForAccesstoken(String parseAnchorForAccesstoken)

isQueryParameters

public boolean isQueryParameters()
Returns:
the queryParameters

setQueryParameters

public void setQueryParameters(boolean queryParameters)
Parameters:
queryParameters - the queryParameters to set

getAccessTokenRequestOption

public String getAccessTokenRequestOption()
Returns:
the accessTokenRequestOption

setAccessTokenRequestOption

public void setAccessTokenRequestOption(String accessTokenRequestOption)
Parameters:
accessTokenRequestOption - the accessTokenRequestOption to set


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