Skip to content

Commit

Permalink
Merge pull request AFNetworking#81 from ejensen/patch-1
Browse files Browse the repository at this point in the history
Rename kAFOAuthCredentialServiceName to kAFOAuth1CredentialServiceName
  • Loading branch information
mattt committed Sep 9, 2013
2 parents 80dd78c + fea7085 commit e548db2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFOAuth1Client/AFOAuth1Client.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ static inline BOOL AFQueryStringValueIsTrue(NSString *value) {
return AFEncodeBase64WithData([NSData dataWithBytes:digest length:CC_SHA1_DIGEST_LENGTH]);
}

NSString * const kAFOAuthCredentialServiceName = @"AFOAuthCredentialService";
NSString * const kAFOAuth1CredentialServiceName = @"AFOAuthCredentialService";

static NSDictionary * AFKeychainQueryDictionaryWithIdentifier(NSString *identifier) {
return @{(__bridge id)kSecClass: (__bridge id)kSecClassGenericPassword,
(__bridge id)kSecAttrAccount: identifier,
(__bridge id)kSecAttrService: kAFOAuthCredentialServiceName
(__bridge id)kSecAttrService: kAFOAuth1CredentialServiceName
};
}

Expand Down

0 comments on commit e548db2

Please sign in to comment.