struct Grits::Credential

Included Modules

Defined in:

grits/credential.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw : Pointer(LibGit::Credential), url : String, username : String | Nil) #

[View source]

Instance Method Detail

def add_ssh_key(*, username : String, public_key_path : String, private_key_path : String, passphrase : String | Nil = nil) #

[View source]
def add_ssh_key(*, username : String, public_key : String, private_key : String, passphrase : String | Nil = nil) #

[View source]
def add_user_pass(*, username : String, password : String) #

[View source]
def from_ssh_agent(*, username : String) #

[View source]
def url : String #

[View source]
def username : String? #

[View source]