2012-03-05 21:19:05 +00:00
|
|
|
//
|
|
|
|
// MPAppDelegate_Key.h
|
|
|
|
// MasterPassword
|
|
|
|
//
|
|
|
|
// Created by Maarten Billemont on 24/11/11.
|
|
|
|
// Copyright (c) 2011 Lyndir. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2012-05-11 20:45:05 +00:00
|
|
|
#import "MPAppDelegate_Shared.h"
|
2012-03-05 21:19:05 +00:00
|
|
|
|
2013-04-20 18:11:19 +00:00
|
|
|
@interface MPAppDelegate_Shared(Key)
|
2012-03-05 21:19:05 +00:00
|
|
|
|
2013-04-30 05:49:53 +00:00
|
|
|
- (BOOL)signInAsUser:(MPUserEntity *)user saveInContext:(NSManagedObjectContext *)moc usingMasterPassword:(NSString *)password;
|
2012-06-27 22:00:41 +00:00
|
|
|
- (void)signOutAnimated:(BOOL)animated;
|
2012-03-05 21:19:05 +00:00
|
|
|
|
2012-06-07 22:40:30 +00:00
|
|
|
- (void)storeSavedKeyFor:(MPUserEntity *)user;
|
|
|
|
- (void)forgetSavedKeyFor:(MPUserEntity *)user;
|
2012-03-05 21:19:05 +00:00
|
|
|
|
|
|
|
@end
|