Skip to content

struct Grits::Credential
inherits Struct #

Included modules

Grits::Mixins::Pointable

Constructors#

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

Methods#

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

#add_ssh_key(*, username : String, public_key : String, private_key : String, passphrase : String | Nil = nil)#

#add_user_pass(*, username : String, password : String)#

#from_ssh_agent(*, username : String)#

#url#

#username#