From df3ab140d183a4e1c7c189483b9fa45dcc409d4c Mon Sep 17 00:00:00 2001 From: captainharrison Date: Thu, 17 Dec 2015 16:12:32 +1100 Subject: [PATCH] Added names in .m Missing names here too. --- AFOAuth2Manager/AFOAuth2Manager.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/AFOAuth2Manager/AFOAuth2Manager.m b/AFOAuth2Manager/AFOAuth2Manager.m index bd10d95f..50997db4 100644 --- a/AFOAuth2Manager/AFOAuth2Manager.m +++ b/AFOAuth2Manager/AFOAuth2Manager.m @@ -145,7 +145,7 @@ - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLS password:(NSString *)password scope:(NSString *)scope success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { NSParameterAssert(username); NSParameterAssert(password); @@ -164,7 +164,7 @@ - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLS - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString scope:(NSString *)scope success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { NSParameterAssert(scope); @@ -179,7 +179,7 @@ - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLS - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString refreshToken:(NSString *)refreshToken success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { NSParameterAssert(refreshToken); @@ -195,7 +195,7 @@ - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLS code:(NSString *)code redirectURI:(NSString *)uri success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { NSParameterAssert(code); NSParameterAssert(uri); @@ -212,7 +212,7 @@ - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLS - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString parameters:(NSDictionary *)parameters success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure { NSMutableDictionary *mutableParameters = [NSMutableDictionary dictionaryWithDictionary:parameters]; if (!self.useHTTPBasicAuthentication) {