getAuthSessionWithHttpInfo method

Future<Response> getAuthSessionWithHttpInfo(
  1. String code
)

Performs an HTTP 'GET /session/auth/{code}' operation and returns the Response. Parameters:

Implementation

Future<Response> getAuthSessionWithHttpInfo(String code,) async {
  // ignore: prefer_const_declarations
  final path = r'/session/auth/{code}'
    .replaceAll('{code}', code);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}