MCPcopy
hub / github.com/dgraph-io/dgraph / Begin

Method Begin

worker/sink_handler.go:226–233  ·  view source on GitHub ↗
(userName, password, authzID string)

Source from the content-addressed store, hash-verified

224}
225
226func (sc *scramClient) Begin(userName, password, authzID string) (err error) {
227 sc.Client, err = sc.HashGeneratorFcn.NewClient(userName, password, authzID)
228 if err != nil {
229 return err
230 }
231 sc.ClientConversation = sc.Client.NewConversation()
232 return nil
233}
234
235func (sc *scramClient) Step(challenge string) (response string, err error) {
236 response, err = sc.ClientConversation.Step(challenge)

Callers 3

RunMethod · 0.80
leaseMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected