public class BitbucketAccessTokenAuthenticator extends BitbucketAuthenticator
BITBUCKET_INSTANCE_TYPE, BITBUCKET_INSTANCE_TYPE_CLOUD, BITBUCKET_INSTANCE_TYPE_SERVER, SCHEME, SERVER_URL
Constructor and Description |
---|
BitbucketAccessTokenAuthenticator(org.jenkinsci.plugins.plaincredentials.StringCredentials credentials)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configureRequest(org.apache.http.HttpRequest request)
Provides the access token as header.
|
authenticationContext, configureBuilder, configureContext, getId, getUserUri
public BitbucketAccessTokenAuthenticator(org.jenkinsci.plugins.plaincredentials.StringCredentials credentials)
credentials
- the access token that will be usedpublic void configureRequest(org.apache.http.HttpRequest request)
configureRequest
in class BitbucketAuthenticator
request
- the requestCopyright © 2016–2022. All rights reserved.