From b7b34227119775df14f152d9e037a9c8cc72d5ba Mon Sep 17 00:00:00 2001 From: captainharrison Date: Thu, 17 Dec 2015 16:11:25 +1100 Subject: [PATCH] Added names Declarations were missing the parameter names --- AFOAuth2Manager/AFOAuth2Manager.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/AFOAuth2Manager/AFOAuth2Manager.h b/AFOAuth2Manager/AFOAuth2Manager.h index 19691150..fa25a5da 100644 --- a/AFOAuth2Manager/AFOAuth2Manager.h +++ b/AFOAuth2Manager/AFOAuth2Manager.h @@ -103,7 +103,7 @@ password:(NSString *)password scope:(NSString *)scope success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; /** Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with a designated scope. @@ -116,7 +116,7 @@ - (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; /** Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server using the specified refresh token. @@ -129,7 +129,7 @@ - (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; /** Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with an authorization code, redirecting to a specified URI upon successful authentication. @@ -144,7 +144,7 @@ code:(NSString *)code redirectURI:(NSString *)uri success:(void (^)(AFOAuthCredential *credential))success - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; /** Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with the specified parameters. @@ -157,7 +157,7 @@ - (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; @end