|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Token | |
---|---|
com.dyuproject.oauth | |
com.dyuproject.oauth.manager |
Uses of Token in com.dyuproject.oauth |
---|
Methods in com.dyuproject.oauth that return Token | |
---|---|
Token |
TokenManager.getToken(String consumerKey,
HttpServletRequest request)
Gets the token. |
Token |
Consumer.getToken(String consumerKey,
HttpServletRequest request)
Gets a token from the request and delegates to the wrapped
TokenManager if not found. |
Methods in com.dyuproject.oauth with parameters of type Token | |
---|---|
static StringBuilder |
Transport.buildAuthUrl(String authUrl,
Token token)
Builds the auth url as StringBuilder to redirect the user to, based from
the given token. |
static StringBuilder |
Transport.buildAuthUrl(String authUrl,
Token token,
String callbackUrl)
Builds the auth url as StringBuilder to redirect the user to, based from
the given token and callback url. |
HttpConnector.Response |
Consumer.fetchToken(Endpoint ep,
Token token)
Fetches the token using the given endpoint and token - and returns the http response HttpConnector.Response . |
HttpConnector.Response |
Consumer.fetchToken(Endpoint ep,
TokenExchange exchange,
Token token)
Fetches the token using the given endpoint, exchange and token - and returns the http response HttpConnector.Response . |
HttpConnector.Response |
Consumer.fetchToken(Endpoint ep,
UrlEncodedParameterMap params,
TokenExchange exchange,
Token token)
Fetches the token using the given endpoint, params, exchange and token - and returns the http response HttpConnector.Response . |
abstract void |
Signature.generate(UrlEncodedParameterMap params,
String consumerSecret,
Token token,
String httpMethod,
Signature.Listener listener,
StringBuilder oauthBuffer,
StringBuilder requestBuffer)
Generates a signature and puts it on the params based from the given params, consumer secret and token. |
static String |
HttpAuthTransport.getAuthHeaderValue(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
NonceAndTimestamp nts,
Signature signature)
Gets the computed value for the "Authorization" header. |
static String |
Transport.getAuthUrl(String authUrl,
Token token)
Gets the auth url based from the given token. |
static String |
Transport.getAuthUrl(String authUrl,
Token token,
String callbackUrl)
Gets the auth url based from the given token and callback url. |
static TokenExchange |
TokenExchange.getExchange(Token token)
Gets the appropriate exchange to use based on the given token. |
boolean |
Consumer.invalidate(Token token,
HttpServletRequest request,
HttpServletResponse response)
Invalidates the token.; Delegates to the TokenManager . |
abstract void |
TokenExchange.put(UrlEncodedParameterMap params,
Endpoint ep,
Token token)
Puts the necessary parameters on the request params based from the given endpoint and token. |
void |
Transport.putDefaults(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
TokenExchange exchange,
NonceAndTimestamp nts,
Signature signature,
StringBuilder oauthBuffer,
StringBuilder requestBuffer)
Put the default oauth parameters on the UrlEncodedParameterMap params . |
boolean |
TokenManager.saveToken(Token token,
HttpServletRequest request,
HttpServletResponse response)
Saves the token. |
boolean |
Consumer.saveToken(Token token,
HttpServletRequest request,
HttpServletResponse response)
Saves the token; Delegates to the TokenManager . |
HttpConnector.Response |
HttpAuthTransport.send(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
TokenExchange exchange,
NonceAndTimestamp nts,
Signature signature,
HttpConnector connector)
|
abstract HttpConnector.Response |
Transport.send(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
TokenExchange exchange,
NonceAndTimestamp nts,
Signature signature,
HttpConnector connector)
Sends the params to the service provided and returns the http response HttpConnector.Response . |
HttpConnector.Response |
HttpPostTransport.send(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
TokenExchange exchange,
NonceAndTimestamp nts,
Signature signature,
HttpConnector connector)
|
HttpConnector.Response |
HttpGetTransport.send(UrlEncodedParameterMap params,
Endpoint ep,
Token token,
TokenExchange exchange,
NonceAndTimestamp nts,
Signature signature,
HttpConnector connector)
|
Uses of Token in com.dyuproject.oauth.manager |
---|
Methods in com.dyuproject.oauth.manager that return Token | |
---|---|
Token |
HttpSessionTokenManager.getToken(String consumerKey,
HttpServletRequest request)
|
Token |
CookieBasedTokenManager.getToken(String consumerKey,
HttpServletRequest request)
|
Methods in com.dyuproject.oauth.manager with parameters of type Token | |
---|---|
boolean |
HttpSessionTokenManager.saveToken(Token token,
HttpServletRequest request,
HttpServletResponse response)
|
boolean |
CookieBasedTokenManager.saveToken(Token token,
HttpServletRequest request,
HttpServletResponse response)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |