Files
sogo/SoObjects/SOGo/SOGoUserSettings.h
Francis Lachapelle d4da1facf9 fix(web): use a distinct salt for TOTP authentication
If TOTP is enabled for a user, it will be disabled until the user
configure it again, which will generate a new private salt.
2021-10-15 16:18:23 -04:00

42 lines
1.2 KiB
Objective-C

/* SOGoUserSettings.h - this file is part of SOGo
*
* Copyright (C) 2009-2021 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef SOGOUSERSETTINGS_H
#define SOGOUSERSETTINGS_H
#import "SOGoDefaultsSource.h"
@class NSArray;
@class NSMutableDictionary;
@class NSString;
@interface SOGoUserSettings : SOGoDefaultsSource
+ (SOGoUserSettings *) settingsForUser: (NSString *) userId;
- (NSArray *) subscribedCalendars;
- (NSArray *) subscribedAddressBooks;
- (NSString *) userPrivateSalt;
- (NSString *) userPublicSalt;
@end
#endif /* SOGOUSERSETTINGS_H */