Class BitbucketAccessTokenAuthenticator
- java.lang.Object
-
- com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
-
- com.cloudbees.jenkins.plugins.bitbucket.api.credentials.BitbucketAccessTokenAuthenticator
-
public class BitbucketAccessTokenAuthenticator extends BitbucketAuthenticator
Authenticator that uses an access token.
-
-
Field Summary
-
Fields inherited from class com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
BITBUCKET_INSTANCE_TYPE, BITBUCKET_INSTANCE_TYPE_CLOUD, BITBUCKET_INSTANCE_TYPE_SERVER, SCHEME, SERVER_URL
-
-
Constructor Summary
Constructors Constructor Description BitbucketAccessTokenAuthenticator(org.jenkinsci.plugins.plaincredentials.StringCredentials credentials)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureRequest(org.apache.http.HttpRequest request)
Provides the access token as header.-
Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketAuthenticator
authenticationContext, configureBuilder, configureContext, getId, getUserUri
-
-
-
-
Method Detail
-
configureRequest
public void configureRequest(org.apache.http.HttpRequest request)
Provides the access token as header.- Overrides:
configureRequest
in classBitbucketAuthenticator
- Parameters:
request
- the request
-
-