getSamlMetadataFromIdpWithHttpInfo method
Future<Response>
getSamlMetadataFromIdpWithHttpInfo({
- MmGetSamlMetadataFromIdpRequest? mmGetSamlMetadataFromIdpRequest,
Get metadata from Identity Provider
Get SAML metadata from the Identity Provider. SAML must be configured properly. ##### Permissions No permission required.
Note: This method returns the HTTP Response
.
Parameters:
- MmGetSamlMetadataFromIdpRequest mmGetSamlMetadataFromIdpRequest:
Implementation
Future<Response> getSamlMetadataFromIdpWithHttpInfo({
MmGetSamlMetadataFromIdpRequest? mmGetSamlMetadataFromIdpRequest,
}) async {
// ignore: prefer_const_declarations
final path = r'/saml/metadatafromidp';
// ignore: prefer_final_locals
Object? postBody = mmGetSamlMetadataFromIdpRequest;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}