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

Commit

Permalink
Added names
Browse files Browse the repository at this point in the history
Declarations were missing the parameter names
  • Loading branch information
nickhrsn committed Dec 17, 2015
1 parent ff83964 commit b7b3422
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AFOAuth2Manager/AFOAuth2Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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

Expand Down

0 comments on commit b7b3422

Please sign in to comment.