//
//  MCAuthRestRequest.h
//  MCFoundation
//
//  Created by Thomas Bartelmess on 10-02-04.
//  Copyright 2010 Marketcircle. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCRestRequestCredentialsProviderProtocol.h"
#import "MCRestRequest.h"
/*!
    @class		 MCAuthRestRequest
    @abstract    Subclass of MCRestRequest that allows to use credentials for the connections
    @discussion  You have the set your NSURLCredentials before you perform the quest
*/

@interface MCAuthRestRequest : MCRestRequest {
	id <MCRestRequestCredentialsProvider> credentialsProvider;
	NSUInteger authCounter;
}
@property (retain) id <MCRestRequestCredentialsProvider> credentialsProvider;
@end
