MCPcopy
hub / github.com/segmentio/kafka-go / Start

Method Start

sasl/sasl.go:28–28  ·  view source on GitHub ↗

Start begins SASL authentication. It returns an authentication state machine and "initial response" data (if required by the selected mechanism). A non-nil error causes the client to abort the authentication attempt. A nil ir value is different from a zero-length value. The nil value indicates that

(ctx context.Context)

Source from the content-addressed store, hash-verified

26 // while a zero-length value indicates an empty initial response, which must
27 // be sent to the server.
28 Start(ctx context.Context) (sess StateMachine, ir []byte, err error)
29}
30
31// StateMachine implements the SASL challenge/response flow for a single SASL

Callers 4

authenticateSASLMethod · 0.65
authenticateSASLFunction · 0.65
TestConsumerGroupFunction · 0.65

Implementers 4

mechanismsasl/scram/scram.go
Mechanismsasl/aws_msk_iam_v2/msk_iam.go
Mechanismsasl/aws_msk_iam/msk_iam.go
Mechanismsasl/plain/plain.go

Calls

no outgoing calls