Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CRAMMD5Auth (0.28 sec)

  1. src/net/smtp/auth.go

    	}
    	return nil, nil
    }
    
    type cramMD5Auth struct {
    	username, secret string
    }
    
    // CRAMMD5Auth returns an [Auth] that implements the CRAM-MD5 authentication
    // mechanism as defined in RFC 2195.
    // The returned Auth uses the given username and secret to authenticate
    // to the server using the challenge-response mechanism.
    func CRAMMD5Auth(username, secret string) Auth {
    	return &cramMD5Auth{username, secret}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/net/smtp/smtp_test.go

    var authTests = []authTest{
    	{PlainAuth("", "user", "pass", "testserver"), []string{}, "PLAIN", []string{"\x00user\x00pass"}},
    	{PlainAuth("foo", "bar", "baz", "testserver"), []string{}, "PLAIN", []string{"foo\x00bar\x00baz"}},
    	{CRAMMD5Auth("user", "pass"), []string{"<123456.1322876914@testserver>"}, "CRAM-MD5", []string{"", "user 287eb355114cf5c471c26a875f1ca4ae"}},
    }
    
    func TestAuth(t *testing.T) {
    testLoop:
    	for i, test := range authTests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Client).Reset", Method, 0},
    		{"(*Client).StartTLS", Method, 0},
    		{"(*Client).TLSConnectionState", Method, 5},
    		{"(*Client).Verify", Method, 0},
    		{"Auth", Type, 0},
    		{"CRAMMD5Auth", Func, 0},
    		{"Client", Type, 0},
    		{"Client.Text", Field, 0},
    		{"Dial", Func, 0},
    		{"NewClient", Func, 0},
    		{"PlainAuth", Func, 0},
    		{"SendMail", Func, 0},
    		{"ServerInfo", Type, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg net/rpc/jsonrpc, func NewClientCodec(io.ReadWriteCloser) rpc.ClientCodec
    pkg net/rpc/jsonrpc, func NewServerCodec(io.ReadWriteCloser) rpc.ServerCodec
    pkg net/rpc/jsonrpc, func ServeConn(io.ReadWriteCloser)
    pkg net/smtp, func CRAMMD5Auth(string, string) Auth
    pkg net/smtp, func Dial(string) (*Client, error)
    pkg net/smtp, func NewClient(net.Conn, string) (*Client, error)
    pkg net/smtp, func PlainAuth(string, string, string, string) Auth
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top