单军华
2018-07-11 acdf41fa3b32b628d9d7bba1f975060567dad3d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
//  ASICloudFilesRequest.h
//  Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
//
//  Created by Michael Mayo on 22/12/09.  
//  mike.mayo@rackspace.com or mike@overhrd.com
//  twitter.com/greenisus
//  Copyright 2009 All-Seeing Interactive. All rights reserved.
//
// A class for accessing data stored on the Rackspace Cloud Files Service
// http://www.rackspacecloud.com/cloud_hosting_products/files
// 
// Cloud Files Developer Guide:
// http://docs.rackspacecloud.com/servers/api/cs-devguide-latest.pdf
 
#import <Foundation/Foundation.h>
#import "ASIHTTPRequest.h"
 
 
@interface ASICloudFilesRequest : ASIHTTPRequest {
}
 
+ (NSString *)storageURL;
+ (NSString *)cdnManagementURL;
+ (NSString *)authToken;
 
#pragma mark Rackspace Cloud Authentication
 
+ (id)authenticationRequest;
+ (NSError *)authenticate;
+ (NSString *)username;
+ (void)setUsername:(NSString *)username;
+ (NSString *)apiKey;
+ (void)setApiKey:(NSString *)apiKey;
 
// helper to parse dates in the format returned by Cloud Files
-(NSDate *)dateFromString:(NSString *)dateString;
 
 
@end