Skip to content

Commit 3714bb7

Browse files
committed
Updated response value for oauth1 with access_token(_secret)
1 parent 1bfcb8e commit 3714bb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/OAuthManager/OAuthManager.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,8 @@ - (NSDictionary *) getAccountResponse:(DCTAuthAccount *) account
508508
if ([version isEqualToString:@"1.0"]) {
509509
DCTOAuth1Credential *credential = account.credential;
510510
NSDictionary *cred = @{
511-
@"oauth_token": credential.oauthToken,
512-
@"oauth_secret": credential.oauthTokenSecret
511+
@"access_token": credential.oauthToken,
512+
@"access_token_secret": credential.oauthTokenSecret
513513
};
514514
[accountResponse setObject:cred forKey:@"credentials"];
515515
} else if ([version isEqualToString:@"2.0"]) {

0 commit comments

Comments
 (0)