getOAuthApplicationWithHttpInfo method

Future<Response> getOAuthApplicationWithHttpInfo(
  1. String oauthApplicationId
)

Retrieve an OAuth application by ID

Fetches the OAuth application whose ID matches the provided id in the path.

Note: This method returns the HTTP Response.

Parameters:

  • String oauthApplicationId (required): The ID of the OAuth application

Implementation

Future<http.Response> getOAuthApplicationWithHttpInfo(
  String oauthApplicationId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/oauth_applications/{oauth_application_id}'
      .replaceAll('{oauth_application_id}', oauthApplicationId);

  // 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,
  );
}