mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-03 19:30:09 +00:00
38 lines
982 B
Objective-C
38 lines
982 B
Objective-C
/*
|
|
* This is the source code of Telegram for iOS v. 1.1
|
|
* It is licensed under GNU GPL v. 2 or later.
|
|
* You should have received a copy of the license in this archive (see LICENSE).
|
|
*
|
|
* Copyright Peter Iakovlev, 2013.
|
|
*/
|
|
|
|
#if defined(MtProtoKitDynamicFramework)
|
|
# import <MTProtoKitDynamic/MTMessageService.h>
|
|
#elif defined(MtProtoKitMacFramework)
|
|
# import <MTProtoKitMac/MTMessageService.h>
|
|
#else
|
|
# import <MTProtoKit/MTMessageService.h>
|
|
#endif
|
|
|
|
@class MTContext;
|
|
@class MTDatacenterAuthMessageService;
|
|
@class MTDatacenterAuthInfo;
|
|
|
|
@protocol MTDatacenterAuthMessageServiceDelegate <NSObject>
|
|
|
|
- (void)authMessageServiceCompletedWithAuthInfo:(MTDatacenterAuthInfo *)authInfo;
|
|
|
|
@end
|
|
|
|
@interface MTDatacenterAuthMessageService : NSObject <MTMessageService>
|
|
|
|
#ifdef DEBUG
|
|
+ (NSDictionary *)testEncryptedRsaDataSha1ToData;
|
|
#endif
|
|
|
|
@property (nonatomic, weak) id<MTDatacenterAuthMessageServiceDelegate> delegate;
|
|
|
|
- (instancetype)initWithContext:(MTContext *)context;
|
|
|
|
@end
|