Class TokenEndpoint
- java.lang.Object
-
- hudson.model.InvisibleAction
-
- com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.rest.TokenEndpoint
-
- All Implemented Interfaces:
Action
,ModelObject
public class TokenEndpoint extends InvisibleAction
-
-
Constructor Summary
Constructors Constructor Description TokenEndpoint(AccessTokenRestEndpoint accessTokenRestEndpoint, RequestTokenRestEndpoint requestTokenRestEndpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doAccessToken(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
void
doRequestToken(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp)
-
Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
-
-
-
-
Constructor Detail
-
TokenEndpoint
@Inject public TokenEndpoint(AccessTokenRestEndpoint accessTokenRestEndpoint, RequestTokenRestEndpoint requestTokenRestEndpoint)
-
-
Method Detail
-
doAccessToken
@WebMethod(name="access-token") public void doAccessToken(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws javax.servlet.ServletException, IOException
- Throws:
javax.servlet.ServletException
IOException
-
doRequestToken
@WebMethod(name="request-token") public void doRequestToken(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp) throws javax.servlet.ServletException, IOException
- Throws:
javax.servlet.ServletException
IOException
-
-