Home | History | Annotate | Download | only in smtp

Lines Matching refs:username

42 	identity, username, password string
48 // The returned Auth uses the given username and password to authenticate
50 // left blank to act as username.
51 func PlainAuth(identity, username, password, host string) Auth {
52 return &plainAuth{identity, username, password, host}
71 resp := []byte(a.identity + "\x00" + a.username + "\x00" + a.password)
84 username, secret string
89 // The returned Auth uses the given username and secret to authenticate
91 func CRAMMD5Auth(username, secret string) Auth {
92 return &cramMD5Auth{username, secret}
104 return []byte(fmt.Sprintf("%s %x", a.username, d.Sum(s))), nil