public class BitbucketUsernamePasswordAuthenticator extends BitbucketAuthenticator
BITBUCKET_INSTANCE_TYPE, BITBUCKET_INSTANCE_TYPE_CLOUD, BITBUCKET_INSTANCE_TYPE_SERVER, SCHEME, SERVER_URL
Constructor and Description |
---|
BitbucketUsernamePasswordAuthenticator(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configureContext(org.apache.http.client.protocol.HttpClientContext context,
org.apache.http.HttpHost host)
Sets up HTTP Basic Auth with the provided username/password
|
authenticationContext, configureBuilder, configureRequest, getId, getUserUri
public BitbucketUsernamePasswordAuthenticator(com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials credentials)
credentials
- the username/password that will be usedpublic void configureContext(org.apache.http.client.protocol.HttpClientContext context, org.apache.http.HttpHost host)
configureContext
in class BitbucketAuthenticator
context
- The connection contexthost
- host being connected toCopyright © 2016–2022. All rights reserved.