|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface OAuthClientFilter.AuthHandler
Implementation of this interface should be passed to the filter constructor to handle user authorization requests and respond to obtaining a new access token (e.g. by storing it for future use).
Method Summary | |
---|---|
java.lang.String |
authorize(java.net.URI authorizationUri)
Method called by the filter when an authorization of a request token is needed. |
void |
authorized(java.lang.String token,
java.lang.String tokenSecret)
Notifies the handler that the application was authorized by the user and a new access token was obtained. |
Method Detail |
---|
java.lang.String authorize(java.net.URI authorizationUri)
authorizationUri
- Authorization URI the user should be redirected to.
void authorized(java.lang.String token, java.lang.String tokenSecret)
token
- The new access token.tokenSecret
- Secret corresponding to the new access token.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |