//
//  NXOption.h
//  NXKit
//
//  Created by 徐家骏 on 2017/6/12.
//  Copyright © 2017年 徐家骏. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NXOption : NSObject

/**
 *  NXKit AppKey
 */
@property (nonatomic, copy) NSString *appID;

@property (nonatomic, copy) NSString *appSecret;

+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;

/**
 *  注册选项初始化方法
 *  @param appID  NXKit AppID
 */
+ (instancetype)optionWithAppID:(NSString *)appID;

/**
 *  注册选项初始化方法
 *  @param appID  NXKit AppID
 *  @param appSecret 注册appID获取到的secret
 */
+ (instancetype)optionWithAppID:(NSString *)appID appSecret:(NSString *)appSecret;

@end

NS_ASSUME_NONNULL_END
