Files
JJBB/Sdk/iOS/YuCheng/ThirdLibs/ShareSDK/ShareSDK.framework/Headers/SSDKCredential.h

74 lines
1.1 KiB
C
Raw Normal View History

2024-08-23 15:49:34 +08:00
//
// SSDKAuthorizeCredential.h
// ShareSDK
//
// Created by 冯 鸿杰 on 15/2/6.
// Copyright (c) 2015年 掌淘科技. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
*
*/
typedef NS_ENUM(NSUInteger, SSDKCredentialType)
{
/**
*
*/
SSDKCredentialTypeUnknown = 0,
/**
* OAuth 1.x
*/
SSDKCredentialTypeOAuth1x = 1,
/**
* OAuth 2
*/
SSDKCredentialTypeOAuth2 = 2,
//4.0.2 短信
SSDKCredentialTypeSMS = 3,
};
/**
*
*/
@interface SSDKCredential : NSObject
/**
*
*/
@property (nonatomic, copy) NSString *uid;
/**
*
*/
@property (nonatomic, copy) NSString *token;
/**
*
*/
@property (nonatomic, copy) NSString *secret;
/**
*
*/
@property (nonatomic, strong) NSDate *expired;
/**
*
*/
@property (nonatomic) SSDKCredentialType type;
/**
*
*/
@property (nonatomic, strong) NSDictionary *rawData;
/**
* YES NO
*/
@property (nonatomic, readonly) BOOL available;
@end