Class AccessTokenRestEndpoint
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.rest.AccessTokenRestEndpoint
-
@Singleton public class AccessTokenRestEndpoint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCESS_TOKEN_PATH_END
static String
OAUTH_AUTHORIZATION_EXPIRES_IN
static String
OAUTH_EXPIRES_IN
static String
OAUTH_SESSION_HANDLE
-
Constructor Summary
Constructors Constructor Description AccessTokenRestEndpoint(net.oauth.OAuthValidator oAuthValidator, ServiceProviderTokenFactory tokenFactory, ServiceProviderTokenStore tokenStore, Clock clock)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleAccessToken(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Field Detail
-
OAUTH_SESSION_HANDLE
public static final String OAUTH_SESSION_HANDLE
- See Also:
- Constant Field Values
-
OAUTH_EXPIRES_IN
public static final String OAUTH_EXPIRES_IN
- See Also:
- Constant Field Values
-
OAUTH_AUTHORIZATION_EXPIRES_IN
public static final String OAUTH_AUTHORIZATION_EXPIRES_IN
- See Also:
- Constant Field Values
-
ACCESS_TOKEN_PATH_END
public static final String ACCESS_TOKEN_PATH_END
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AccessTokenRestEndpoint
@Inject public AccessTokenRestEndpoint(net.oauth.OAuthValidator oAuthValidator, ServiceProviderTokenFactory tokenFactory, ServiceProviderTokenStore tokenStore, Clock clock)
-
-
Method Detail
-
handleAccessToken
public void handleAccessToken(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Throws:
javax.servlet.ServletException
IOException
-
-