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