mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/MtProtoKit git-subtree-mainline: 3b155750f5a4894ff3dedf1860a37e94e0ea9571 git-subtree-split: 14ab734b977fd4f1686a2a13415f6a4c9b9fdd6d
23 lines
652 B
Objective-C
23 lines
652 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
#if defined(MtProtoKitDynamicFramework)
|
|
# import <MTProtoKitDynamic/MTKeychain.h>
|
|
#elif defined(MtProtoKitMacFramework)
|
|
# import <MTProtoKitMac/MTKeychain.h>
|
|
#else
|
|
# import <MtProtoKit/MTKeychain.h>
|
|
#endif
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MTFileBasedKeychain : NSObject <MTKeychain>
|
|
|
|
+ (instancetype)unencryptedKeychainWithName:(NSString * _Nullable)name documentsPath:(NSString *)documentsPath;
|
|
+ (instancetype)keychainWithName:(NSString * _Nullable)name documentsPath:(NSString * _Nullable)documentsPath;
|
|
|
|
- (NSDictionary<NSString *, id> *)contentsForGroup:(NSString *)group;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|