|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenManager
Manages the token; Provides the ability to get, save or invalidate the token.
Method Summary | |
---|---|
Token |
getToken(String consumerKey,
HttpServletRequest request)
Gets the token. |
void |
init(Properties properties)
Initialize this manager based from the given properties. |
boolean |
invalidate(String consumerKey,
HttpServletRequest request,
HttpServletResponse response)
Invalidates the token. |
boolean |
saveToken(Token token,
HttpServletRequest request,
HttpServletResponse response)
Saves the token. |
Method Detail |
---|
void init(Properties properties)
Token getToken(String consumerKey, HttpServletRequest request) throws IOException
IOException
boolean saveToken(Token token, HttpServletRequest request, HttpServletResponse response) throws IOException
IOException
boolean invalidate(String consumerKey, HttpServletRequest request, HttpServletResponse response) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |