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