|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OAuthProviderService
| Method Summary | |
|---|---|
void |
authorize(net.oauth.OAuthAccessor accessor,
String userId)
|
void |
generateAccessToken(net.oauth.OAuthAccessor accessor)
Generate access token for given accessor and remove it from collection. |
void |
generateRequestToken(net.oauth.OAuthAccessor accessor)
Generate request token for given accessor and put it in collection. |
net.oauth.OAuthAccessor |
getAccessor(net.oauth.OAuthMessage oauthMessage)
Look up accessor by given OAuthMessage. |
net.oauth.OAuthConsumer |
getConsumer(net.oauth.OAuthMessage oauthMessage)
|
net.oauth.OAuthConsumer |
getConsumer(String name)
|
| Method Detail |
|---|
net.oauth.OAuthAccessor getAccessor(net.oauth.OAuthMessage oauthMessage)
throws net.oauth.OAuthProblemException
oauthMessage - the message.
net.oauth.OAuthProblemException - if accessor not found.
net.oauth.OAuthConsumer getConsumer(net.oauth.OAuthMessage oauthMessage)
throws net.oauth.OAuthProblemException
oauthMessage - the message.
net.oauth.OAuthProblemException - if consumer not found.
net.oauth.OAuthConsumer getConsumer(String name)
throws net.oauth.OAuthProblemException
name - the consumer name.
net.oauth.OAuthProblemException - if consumer not found.
void authorize(net.oauth.OAuthAccessor accessor,
String userId)
throws net.oauth.OAuthProblemException
accessor - the accessor.userId - the user name or other identifier.
net.oauth.OAuthProblemException - if any error occurs.void generateRequestToken(net.oauth.OAuthAccessor accessor)
accessor - the accessor.
void generateAccessToken(net.oauth.OAuthAccessor accessor)
throws net.oauth.OAuthProblemException
accessor - the accessor.
net.oauth.OAuthProblemException - if access token can't be created.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||