Groovy Documentation

org.ajoberstar.gradle.git.auth
[Java] Class TransportAuthUtil

java.lang.Object
  org.ajoberstar.gradle.git.auth.TransportAuthUtil

public class TransportAuthUtil

Utility methods to configure a Git task that uses a TransportCommand with authentication information.

Since:
0.6.0


Method Summary
static void configure(TransportCommand command, AuthenticationSupported auth)

Configures command to use the credentials from auth, if available, and also support use of ssh-agent and Pageant.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

configure

public static void configure(TransportCommand command, AuthenticationSupported auth)
Configures command to use the credentials from auth, if available, and also support use of ssh-agent and Pageant.
Parameters:
command - the transport command to configure
auth - the task with the credentials to use


 

Groovy Documentation