TapLogin-Unity/Plugins/iOS/TapLoginSDK.framework/Headers/TTSDKLoginResult.h

30 lines
671 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//
// TTSDKLoginResult.h
// TapTapSDK
//
// Created by TapTap on 2017/10/17.
// Copyright © 2017年 易玩. All rights reserved.
//
#import <Foundation/Foundation.h>
@class TTSDKAccessToken;
/**
* @brief 登入结果
*
* 该类封装了登入的响应结果非NSError情况下
*/
@interface TTSDKLoginResult : NSObject
/// 授权Token
@property (nonatomic, copy) TTSDKAccessToken *token;
/// 用户是否选择取消授权非拒绝授权拒绝授权将在NSError中进行返回
@property (nonatomic, readonly) BOOL isCancelled;
- (instancetype)initWithToken:(TTSDKAccessToken *)token
isCancelled:(BOOL)isCancelled;
@end