public class RequestTokenHandler extends Object
Constructor and Description |
---|
RequestTokenHandler() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
handle(MessageContext mc,
OAuthDataProvider dataProvider,
net.oauth.OAuthValidator validator) |
void |
setDefaultScope(String defaultScope) |
void |
setTokenLifetime(long tokenLifetime) |
protected void |
validateCallbackURL(Client client,
String oauthCallback) |
public javax.ws.rs.core.Response handle(MessageContext mc, OAuthDataProvider dataProvider, net.oauth.OAuthValidator validator)
protected void validateCallbackURL(Client client, String oauthCallback) throws net.oauth.OAuthProblemException
net.oauth.OAuthProblemException
public void setTokenLifetime(long tokenLifetime)
public void setDefaultScope(String defaultScope)
Apache CXF