feat(core): Add URL encryption for GDPR compliancy. Disable url encryption for caldav.

This commit is contained in:
smizrahi
2024-02-12 14:52:01 +01:00
parent 42511d666f
commit fc778295ff
6 changed files with 17 additions and 14 deletions
+3 -2
View File
@@ -41,6 +41,7 @@
@class NSString;
@class WOContext;
@class WORequest;
@class SOGoAppointmentFolder;
@class SOGoAppointmentFolders;
@@ -136,8 +137,8 @@
- (SOGoContactFolder *) personalContactsFolderInContext: (WOContext *) context;
/* Encryption */
+ (NSString *)getEncryptedUsernameIfNeeded:(NSString *)username;
+ (NSString *)getDecryptedUsernameIfNeeded:(NSString *)username;
+ (NSString *)getEncryptedUsernameIfNeeded:(NSString *)username request:(WORequest *)request;
+ (NSString *)getDecryptedUsernameIfNeeded:(NSString *)username request:(WORequest *)request;
@end