public interface GitAuthHelper
| Modifier and Type | Method and Description |
|---|---|
<T extends GitCommandBuilderSupport<T>> |
configure(GitCommandBuilderSupport<T> builder,
String username,
String password,
Path keyFile)
Configured the supplied
GitCommandBuilderSupport to make authenticated requests. |
@Nonnull <T extends GitCommandBuilderSupport<T>> GitCommandBuilderSupport<T> configure(@Nonnull GitCommandBuilderSupport<T> builder, @Nullable String username, @Nullable String password, @Nullable Path keyFile)
GitCommandBuilderSupport to make authenticated requests. This is useful for
making requests to remote repositoriesbuilder - adds authentication information to this builderusername - username used for authenticationpassword - password used for authenticationkeyFile - path to private key used for authenticationCopyright © 2019 Atlassian. All rights reserved.