Skip to content
This repository was archived by the owner on Jan 17, 2023. It is now read-only.

Commit b7b3422

Browse files
committed
Added names
Declarations were missing the parameter names
1 parent ff83964 commit b7b3422

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

AFOAuth2Manager/AFOAuth2Manager.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
password:(NSString *)password
104104
scope:(NSString *)scope
105105
success:(void (^)(AFOAuthCredential *credential))success
106-
failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure;
106+
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
107107

108108
/**
109109
Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with a designated scope.
@@ -116,7 +116,7 @@
116116
- (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString
117117
scope:(NSString *)scope
118118
success:(void (^)(AFOAuthCredential *credential))success
119-
failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure;
119+
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
120120

121121
/**
122122
Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server using the specified refresh token.
@@ -129,7 +129,7 @@
129129
- (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString
130130
refreshToken:(NSString *)refreshToken
131131
success:(void (^)(AFOAuthCredential *credential))success
132-
failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure;
132+
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
133133

134134
/**
135135
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 @@
144144
code:(NSString *)code
145145
redirectURI:(NSString *)uri
146146
success:(void (^)(AFOAuthCredential *credential))success
147-
failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure;
147+
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
148148

149149
/**
150150
Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with the specified parameters.
@@ -157,7 +157,7 @@
157157
- (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString
158158
parameters:(NSDictionary *)parameters
159159
success:(void (^)(AFOAuthCredential *credential))success
160-
failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure;
160+
failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure;
161161

162162
@end
163163

0 commit comments

Comments
 (0)