~threeve/ubuntuone-ios-files/folder-info-footer

« back to all changes in this revision

Viewing changes to Dependencies/oauthconsumer/OATokenManager.m

  • Committer: Zachery Bir
  • Date: 2011-11-01 14:28:05 UTC
  • mfrom: (6.2.116 auto-uploads-view)
  • Revision ID: zachery.bir@canonical.com-20111101142805-uyjwtzm552h638r2
Merged urbanape's auto-uploads-view branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
                [self exchangeToken];
94
94
        } else {
95
95
                [authorizedTokenKey release];
96
 
                authorizedTokenKey = [aKey retain];
 
96
                authorizedTokenKey = (NSString*)[aKey retain];
97
97
        }
98
98
}
99
99
 
284
284
{
285
285
        OAToken *token = [[OAToken alloc] initWithHTTPResponseBody:body];
286
286
        [self setAccessToken:token];
 
287
        [token release];
287
288
}
288
289
 
289
290
- (void)renewToken {
371
372
                [delegates setObject:aDelegate forKey:[NSString stringWithFormat:@"%p", call]];
372
373
        }
373
374
        [self dispatch];
 
375
        [call release];
374
376
}
375
377
 
376
378
- (void)fetchData:(NSString *)aURL method:(NSString *)aMethod parameters:(NSArray *)theParameters