//Use a loop to check the status of authorization. Once the status is not "PENDING", skip the loop.
 public GetAuthorizationDetailsResponse CheckAuthorizationStatus(AuthorizeResponse authResponse)
 {
     return(AuthorizeSample.CheckAuthorizationStatus(authResponse.AuthorizeResult.AuthorizationDetails.AmazonAuthorizationId, propertiesCollection, service));
 }
 //Use a loop to check the status of authorization. Once the status is not "PENDING", skip the loop.
 public void CheckAuthorizationStatus(AuthorizeResponse authResponse)
 {
     AuthorizeSample.CheckAuthorizationStatus(authResponse.AuthorizeResult.AuthorizationDetails.AmazonAuthorizationId, propertiesCollection, service);
 }