PNObject/Pod/Classes/PNClasses/PNAccessToken.h
Giuseppe Nucifora fad171373e - Refactoring classes
- Add Installation Class
- Add AccessToken Class (not yet complete)
- Remove PNObjectProperty
- Move PNObjectProperty methods to "PNObject+Protected.h"
2016-01-27 15:14:04 +01:00

31 lines
501 B
Objective-C

//
// PNAccessToken.h
// Pods
//
// Created by Giuseppe Nucifora on 27/01/16.
//
//
#import <PNObject/PNObject.h>
@interface PNAccessToken : PNObject
typedef NS_ENUM(NSInteger, TokenType) {
TokenTypeBasic = 1,
TokenTypeBearer = 2
};
/**
* <#Description#>
*/
@property (nonatomic, strong, nullable) NSString *accessToken;
/**
* <#Description#>
*/
@property (nonatomic, strong, nullable) NSDate *expirationDate;
/**
* <#Description#>
*/
@property (nonatomic) TokenType tokenType;
@end