(ctx context.Context, req pluginapi.AuthLoginStartRequest)
| 393 | } |
| 394 | |
| 395 | func (a *rpcPluginAdapter) StartLogin(ctx context.Context, req pluginapi.AuthLoginStartRequest) (pluginapi.AuthLoginStartResponse, error) { |
| 396 | callbackID, closeCallback := a.openHostCallbackContext(ctx) |
| 397 | defer closeCallback() |
| 398 | return callPlugin[pluginapi.AuthLoginStartResponse](ctx, a.client, pluginabi.MethodAuthLoginStart, rpcAuthLoginStartRequest{ |
| 399 | AuthLoginStartRequest: req, |
| 400 | HostCallbackID: callbackID, |
| 401 | }) |
| 402 | } |
| 403 | |
| 404 | func (a *rpcPluginAdapter) PollLogin(ctx context.Context, req pluginapi.AuthLoginPollRequest) (pluginapi.AuthLoginPollResponse, error) { |
| 405 | callbackID, closeCallback := a.openHostCallbackContext(ctx) |
nothing calls this directly
no test coverage detected