retrieveSecondFactorWithHttpInfo method
Retrieve a second factor
Retrieves the details of an existing second factor.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> retrieveSecondFactorWithHttpInfo(String account, String user, String secondFactor,) async {
// ignore: prefer_const_declarations
final path = r'/accounts/{account}/users/{user}/second-factors/{second-factor}'
.replaceAll('{account}', account)
.replaceAll('{user}', user)
.replaceAll('{second-factor}', secondFactor);
// 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,
);
}