postCrossLoginSessionWithHttpInfo method
Future<Response>
postCrossLoginSessionWithHttpInfo({
- CredentialsHostViewModel? credentialsHostViewModel,
Performs an HTTP 'POST /session/cross-login' operation and returns the Response
.
Parameters:
- CredentialsHostViewModel credentialsHostViewModel:
Implementation
Future<Response> postCrossLoginSessionWithHttpInfo({ CredentialsHostViewModel? credentialsHostViewModel, }) async {
// ignore: prefer_const_declarations
final path = r'/session/cross-login';
// ignore: prefer_final_locals
Object? postBody = credentialsHostViewModel;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json', 'application/json-patch+json', 'text/json', 'application/*+json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}