removed mods directory from the ATutor codebase
[atutor.git] / mods / atsocial_iphone_app / Classes / OSProvider.m
diff --git a/mods/atsocial_iphone_app/Classes/OSProvider.m b/mods/atsocial_iphone_app/Classes/OSProvider.m
deleted file mode 100644 (file)
index 1b95096..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-//  OSProvider.m
-//  ATutor
-//
-//  Created by Quang Anh Do on 29/05/2010.
-//  Copyright 2010 Quang Anh Do. All rights reserved.
-//
-
-#import "OSProvider.h"
-#import "OARequestParameter.h"
-
-
-@implementation OSProvider
-
-@synthesize requestUrl, authorizeUrl, accessUrl, endpointUrl, extraRequestUrlParams, isOpenSocial, consumerKey, consumerSecret, name;
-
-- (void)dealloc {
-       [requestUrl release];
-       [authorizeUrl release];
-       [accessUrl release];
-       [endpointUrl release];
-       [consumerKey release];
-       [consumerSecret release];
-       [name release];
-       
-       [super dealloc];
-}
-
-+ (OSProvider *)getATutorProviderWithKey:(NSString *)key withSecret:(NSString *)secret {
-       OSProvider *atutor = [[[OSProvider alloc] init] autorelease];
-       atutor.requestUrl = [NSString stringWithFormat:@"%@/mods/_standard/social/lib/oauth/request_token.php", kATutorURL];
-       atutor.authorizeUrl = [NSString stringWithFormat:@"%@/mods/_standard/social/lib/oauth/authorize.php", kATutorURL];
-       atutor.accessUrl = [NSString stringWithFormat:@"%@/mods/_standard/social/lib/oauth/access_token.php", kATutorURL];
-       atutor.endpointUrl = [NSString stringWithFormat:@"%@/social/rest", kShindigURL];
-       
-       atutor.isOpenSocial = YES;
-       
-       atutor.consumerKey = key;
-       atutor.consumerSecret = secret;
-       
-       atutor.name = @"ATutor";
-       
-       return atutor;
-}
-
-@end