MCPcopy Create free account
hub / github.com/apache/pulsar-client-go / Callback

Method Callback

oauth2/device_code_flow_test.go:53–60  ·  view source on GitHub ↗
(code *DeviceCodeResult)

Source from the content-addressed store, hash-verified

51}
52
53func (c *MockDeviceCodeCallback) Callback(code *DeviceCodeResult) error {
54 c.Called = true
55 c.DeviceCodeResult = code
56 if c.ReturnsError != nil {
57 return c.ReturnsError
58 }
59 return nil
60}
61
62var _ = ginkgo.Describe("DeviceCodeFlow", func() {
63

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected