net.daum.dna.oauth
Interface DaumOAuth

All Superinterfaces:
oauth.signpost.OAuthConsumer, java.io.Serializable
All Known Implementing Classes:
DefaultDaumOAuth

public interface DaumOAuth
extends oauth.signpost.OAuthConsumer

The Interface DaumOAuth.


Method Summary
 DaumToken getAccessToken(java.lang.String verifier)
          Gets the access token.
 java.lang.String getAuthorizeURL()
          Gets the authorize url.
 java.lang.String getAuthorizeURL(java.lang.String callback)
          Gets the authorize url.
 void setAccessToken(DaumToken token)
          Sets the access token.
 void setAccessToken(java.lang.String token, java.lang.String tokenSecret)
          Sets the access token.
 
Methods inherited from interface oauth.signpost.OAuthConsumer
getConsumerKey, getConsumerSecret, getRequestParameters, getToken, getTokenSecret, setAdditionalParameters, setMessageSigner, setSendEmptyTokens, setSigningStrategy, setTokenWithSecret, sign, sign, sign
 

Method Detail

getAuthorizeURL

java.lang.String getAuthorizeURL()
                                 throws java.lang.Exception
Gets the authorize url.

Returns:
the authorize url
Throws:
java.lang.Exception

getAuthorizeURL

java.lang.String getAuthorizeURL(java.lang.String callback)
                                 throws java.lang.Exception
Gets the authorize url.

Parameters:
callback - the callback
Returns:
the authorize url
Throws:
java.lang.Exception

getAccessToken

DaumToken getAccessToken(java.lang.String verifier)
                         throws java.lang.Exception
Gets the access token.

Parameters:
verifier - the verifier
Returns:
the access token
Throws:
java.lang.Exception

setAccessToken

void setAccessToken(java.lang.String token,
                    java.lang.String tokenSecret)
Sets the access token.

Parameters:
token - the token
tokenSecret - the token secret

setAccessToken

void setAccessToken(DaumToken token)
Sets the access token.

Parameters:
token - the new access token