struct
Agate::Credentials::SshKey
- Agate::Credentials::SshKey
- Struct
- Value
- Object
Overview
SSH key-based authentication.
Defined in:
agate/credentials.crConstructors
Instance Method Summary
- #clone
- #copy_with(username _username = @username, public_key _public_key = @public_key, private_key _private_key = @private_key, passphrase _passphrase = @passphrase)
- #passphrase : String | Nil
- #private_key : String
- #public_key : String | Nil
- #username : String
Constructor Detail
def self.new(username : String = "git", public_key : String | Nil = nil, private_key : String = "", passphrase : String | Nil = nil)
#
Instance Method Detail
def copy_with(username _username = @username, public_key _public_key = @public_key, private_key _private_key = @private_key, passphrase _passphrase = @passphrase)
#