org.apache.abdera.ext.oauth
Class OAuthCredentials

java.lang.Object
  extended by org.apache.abdera.ext.oauth.OAuthCredentials
All Implemented Interfaces:
org.apache.commons.httpclient.Credentials

public class OAuthCredentials
extends Object
implements org.apache.commons.httpclient.Credentials

OAuth credentials

Author:
David Calavera
See Also:
http://oauth.org, http://oauth.googlecode.com/svn/spec/branches/1.0/drafts/7/spec.html

Constructor Summary
OAuthCredentials()
           
OAuthCredentials(String consumerKey, String token, String signatureMethod, String realm)
           
OAuthCredentials(String consumerKey, String token, String signatureMethod, String realm, String version)
           
OAuthCredentials(String consumerKey, String token, String signatureMethod, String realm, String version, Certificate cert)
           
 
Method Summary
 Certificate getCert()
           
 String getConsumerKey()
           
 String getRealm()
           
 String getSignatureMethod()
           
 String getToken()
           
 String getVersion()
           
 void setCert(Certificate cert)
           
 void setConsumerKey(String consumerKey)
           
 void setRealm(String realm)
           
 void setSignatureMethod(String signatureMethod)
           
 void setToken(String token)
           
 void setVersion(String version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthCredentials

public OAuthCredentials()

OAuthCredentials

public OAuthCredentials(String consumerKey,
                        String token,
                        String signatureMethod,
                        String realm)

OAuthCredentials

public OAuthCredentials(String consumerKey,
                        String token,
                        String signatureMethod,
                        String realm,
                        String version)

OAuthCredentials

public OAuthCredentials(String consumerKey,
                        String token,
                        String signatureMethod,
                        String realm,
                        String version,
                        Certificate cert)
Method Detail

getConsumerKey

public String getConsumerKey()

setConsumerKey

public void setConsumerKey(String consumerKey)

getSignatureMethod

public String getSignatureMethod()

setSignatureMethod

public void setSignatureMethod(String signatureMethod)

getToken

public String getToken()

setToken

public void setToken(String token)

getRealm

public String getRealm()

setRealm

public void setRealm(String realm)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getCert

public Certificate getCert()

setCert

public void setCert(Certificate cert)


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.