Class RequestTokenRestEndpoint
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.rest.RequestTokenRestEndpoint
-
@Singleton public class RequestTokenRestEndpoint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
INVALID_CALLBACK_ADVICE
static String
REQUEST_TOKEN_PATH_END
-
Constructor Summary
Constructors Constructor Description RequestTokenRestEndpoint(net.oauth.OAuthValidator oAuthValidator, ServiceProviderConsumerStore consumerStore, ServiceProviderTokenFactory tokenFactory, ServiceProviderTokenStore tokenStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequestToken(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-
-
-
Field Detail
-
INVALID_CALLBACK_ADVICE
public static final String INVALID_CALLBACK_ADVICE
- See Also:
- Constant Field Values
-
REQUEST_TOKEN_PATH_END
public static final String REQUEST_TOKEN_PATH_END
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequestTokenRestEndpoint
@Inject public RequestTokenRestEndpoint(net.oauth.OAuthValidator oAuthValidator, ServiceProviderConsumerStore consumerStore, ServiceProviderTokenFactory tokenFactory, ServiceProviderTokenStore tokenStore)
-
-
Method Detail
-
handleRequestToken
public void handleRequestToken(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
- Throws:
javax.servlet.ServletException
IOException
-
-