//
//  TYFBHandle.h
//  XYSDK
//
//  Created by  on 2019/1/3.
//  Copyright © 2019 刘磊. All rights reserved.
//


NS_ASSUME_NONNULL_BEGIN

@interface TYFBHandle : NSObject

+ (TYFBHandle *)sharedManager;

+ (void)setAuthorityList:(NSArray *)authorityList;

/**
 初始化 SDK
 */
+ (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;

/**
 初始化 SDK
 */
+ (void)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;

/**
 登录
 */
+ (void)login:(TYBaseRespBlock)completion;

/**
 注销
 */
+ (void)logout;

/// 获取当前版本
+ (NSString *)getCurrentVersion;

@end

NS_ASSUME_NONNULL_END
