![]() |
ObjectiveC SDK
2.0
|
#include <STSToken.h>
Public Member Functions | |
| STSToken * | initWith:withDate: (NSString *givenToken,[withDate] NSDate *givenDate) |
| STSToken * | token () |
Properties | |
| NSString * | currentToken |
| NSDate * | validUntil |
Creates new token with given token string and given date (current time + 8 hrs.)
Methods:
| STSToken * STSToken::initWith:withDate: | ( | NSString* | givenToken, |
| [withDate] NSDate* | givenDate | ||
| ) | [virtual] |
Provides new token object.
| givenToken | current token string |
| givenDate | current expiration date |
Getter for the received token.
NSString * STSToken::currentToken [read, write, retain] |
NSDate * STSToken::validUntil [read, write, retain] |
1.7.5