org.springframework.integration.twitter.oauth
Interface AccessTokenInitialRequestProcessListener
- All Known Implementing Classes:
- ConsoleBasedAccessTokenInitialRequestProcessListener
public interface AccessTokenInitialRequestProcessListener
if the factory bean isn't provided a 'accesstoken' and 'accesstokensecret', then it will try to obtain those bits of informatio on the users behalf.
In doing so it will need input fro the user (automatic or human intervention is required)
- Author:
- Josh Long
openUrlAndReturnPin
String openUrlAndReturnPin(String urlToOpen)
throws Exception
- Throws:
Exception
persistReturnedAccessToken
void persistReturnedAccessToken(twitter4j.http.AccessToken accessToken)
throws Exception
- Throws:
Exception
failure
void failure(Throwable t)
- Callback in case something goes wrong at any point in the process. Up to client to intervene
- Parameters:
t
- the exception thrown (if any). Could be null if none available
Copyright © 2010. All Rights Reserved.