hank
2017-06-14 3f9b5125cd79f60e878a3f93708d1254048fd1fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
//  TWTRSessionMigrating.h
//  TwitterCore
//
//  Copyright (c) 2015 Twitter Inc. All rights reserved.
//
 
#import <TwitterCore/TWTRSessionStore.h>
 
@protocol TWTRSessionMigrating <NSObject>
 
/**
 * Specifies that the migrator should migrate any existing sessions into the given store.
 *
 * @param store the store to migrate sessions to
 * @param removeOnSuccess if the migrator should remove the sessions on successful migration.
 */
- (void)runMigrationWithDestination:(id<TWTRSessionStore>)store removeOnSuccess:(BOOL)removeOnSuccess;
 
@end