Skip to content

Commit 7e1255c

Browse files
docs: document what AuthConfig.Auth is
Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
1 parent 65d3f78 commit 7e1255c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cli/config/types/authconfig.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ package types
44
type AuthConfig struct {
55
Username string `json:"username,omitempty"`
66
Password string `json:"password,omitempty"`
7-
Auth string `json:"auth,omitempty"`
7+
// Auth is the base64 encoding of the concatenation of username and password.
8+
Auth string `json:"auth,omitempty"`
89

910
// Email is an optional value associated with the username.
1011
// This field is deprecated and will be removed in a later

0 commit comments

Comments
 (0)