|
103 | 103 | password:(NSString *)password |
104 | 104 | scope:(NSString *)scope |
105 | 105 | success:(void (^)(AFOAuthCredential *credential))success |
106 | | - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; |
| 106 | + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; |
107 | 107 |
|
108 | 108 | /** |
109 | 109 | Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with a designated scope. |
|
116 | 116 | - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString |
117 | 117 | scope:(NSString *)scope |
118 | 118 | success:(void (^)(AFOAuthCredential *credential))success |
119 | | - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; |
| 119 | + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; |
120 | 120 |
|
121 | 121 | /** |
122 | 122 | Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server using the specified refresh token. |
|
129 | 129 | - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString |
130 | 130 | refreshToken:(NSString *)refreshToken |
131 | 131 | success:(void (^)(AFOAuthCredential *credential))success |
132 | | - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; |
| 132 | + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; |
133 | 133 |
|
134 | 134 | /** |
135 | 135 | Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with an authorization code, redirecting to a specified URI upon successful authentication. |
|
144 | 144 | code:(NSString *)code |
145 | 145 | redirectURI:(NSString *)uri |
146 | 146 | success:(void (^)(AFOAuthCredential *credential))success |
147 | | - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; |
| 147 | + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; |
148 | 148 |
|
149 | 149 | /** |
150 | 150 | Creates and enqueues an `AFHTTPRequestOperation` to authenticate against the server with the specified parameters. |
|
157 | 157 | - (AFHTTPRequestOperation *)authenticateUsingOAuthWithURLString:(NSString *)URLString |
158 | 158 | parameters:(NSDictionary *)parameters |
159 | 159 | success:(void (^)(AFOAuthCredential *credential))success |
160 | | - failure:(void (^)(AFHTTPRequestOperation, NSError *error))failure; |
| 160 | + failure:(void (^)(AFHTTPRequestOperation *operation, NSError *error))failure; |
161 | 161 |
|
162 | 162 | @end |
163 | 163 |
|
|
0 commit comments