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.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA credential.static enumWhat kind of secret a credential is. -
Method Summary
Modifier and TypeMethodDescriptionThe credential to use for a remote.static CredentialLookupnone()The script that answers git's and ssh's prompts from the environment; seeGitOptions.
-
Method Details
-
find
The credential to use for a remote.- Parameters:
accountId- the account this repository is set to use, ornullto choose by the URLurl- the remote's URL (HTTPS,ssh://or scp-likegit@host:path)
-
none
The script that answers git's and ssh's prompts from the environment; seeGitOptions.
-