1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-14 08:21:28 +05:30

changes to wincred, completes list functionality in windows

Signed-off-by: avaid96 <avaid1996@gmail.com>
This commit is contained in:
avaid96
2016-07-16 11:59:43 -07:00
parent b63a32e7a2
commit 5b764cc13a
5 changed files with 63 additions and 6 deletions
+5
View File
@@ -67,3 +67,8 @@ func (t *DomainPassword) Delete() (err error) {
func (t *DomainPassword) SetPassword(pw string) {
t.CredentialBlob = utf16ToByte(syscall.StringToUTF16(pw))
}
// List the contents of the Credentials store
func List() ([]*Credential, error) {
return nativeCredEnumerate("", true)
}