com.jayway.restassured.authentication
Class OAuthScheme

java.lang.Object
  extended by com.jayway.restassured.authentication.OAuthScheme
All Implemented Interfaces:
AuthenticationScheme, groovy.lang.GroovyObject

public class OAuthScheme
extends Object
implements AuthenticationScheme, groovy.lang.GroovyObject


Constructor Summary
OAuthScheme()
           
 
Method Summary
 void authenticate(groovyx.net.http.HTTPBuilder httpBuilder)
           
 String getAccessToken()
           
 String getConsumerKey()
           
 String getConsumerSecret()
           
 groovy.lang.MetaClass getMetaClass()
           
 Object getProperty(String property)
           
 String getSecretToken()
           
 Object invokeMethod(String method, Object arguments)
           
 void setAccessToken(String value)
           
 void setConsumerKey(String value)
           
 void setConsumerSecret(String value)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(String property, Object value)
           
 void setSecretToken(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthScheme

public OAuthScheme()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject

invokeMethod

public Object invokeMethod(String method,
                           Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject

getProperty

public Object getProperty(String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject

setProperty

public void setProperty(String property,
                        Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject

getConsumerKey

public String getConsumerKey()

setConsumerKey

public void setConsumerKey(String value)

getConsumerSecret

public String getConsumerSecret()

setConsumerSecret

public void setConsumerSecret(String value)

getAccessToken

public String getAccessToken()

setAccessToken

public void setAccessToken(String value)

getSecretToken

public String getSecretToken()

setSecretToken

public void setSecretToken(String value)

authenticate

public void authenticate(groovyx.net.http.HTTPBuilder httpBuilder)
Specified by:
authenticate in interface AuthenticationScheme


Copyright © 2010-2011. All Rights Reserved.