Interface CredentialLookup


public interface CredentialLookup
Supplies the application's stored credentials to a backend. The backend asks before it talks to a remote; whatever is returned is used for that one operation and never written to a git configuration file.
  • Method Details

    • find

      The credential to use for a remote.
      Parameters:
      accountId - the account this repository is set to use, or null to choose by the URL
      url - the remote's URL (HTTPS, ssh:// or scp-like git@host:path)
    • none

      static CredentialLookup none()
      The script that answers git's and ssh's prompts from the environment; see GitOptions.