postIntegrationsConnectorsByProviderDeviceByFlowPollWithHttpInfo method
Advances a device sign-in.
Advances a device sign-in. Terminal outcomes are DATA, not errors (verifyConn {active:false} discipline) — the status set is closed: pending|connected|denied|expired. pollSlow collapses to "pending" on the wire; the raised cadence rides interval.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> postIntegrationsConnectorsByProviderDeviceByFlowPollWithHttpInfo(String provider, String flow,) async {
// ignore: prefer_const_declarations
final path = r'/v1/integrations/connectors/{provider}/device/{flow}/poll'
.replaceAll('{provider}', provider)
.replaceAll('{flow}', flow);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}