Class CredentialStorageHelper

java.lang.Object
com.github.gastaldi.git.CredentialStorageHelper

public class CredentialStorageHelper
extends java.lang.Object
Author:
Lukas Zaruba, lukas.zaruba@gmail.com, 2019
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String GIT_STORE_PATH  
  • Constructor Summary

    Constructors 
    Constructor Description
    CredentialStorageHelper()  
  • Method Summary

    Modifier and Type Method Description
    void storeCredentials​(java.nio.file.Path pwd, java.lang.String schema, java.lang.String host, java.lang.String username, java.lang.String password)
    Stores credentials in the git.store file in the form compatible with https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • storeCredentials

      public void storeCredentials​(java.nio.file.Path pwd, java.lang.String schema, java.lang.String host, java.lang.String username, java.lang.String password) throws java.io.IOException
      Stores credentials in the git.store file in the form compatible with https://git-scm.com/book/en/v2/Git-Tools-Credential-Storage
      Throws:
      java.io.IOException