SPTSession Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSSecureCoding |
| Declared in | SPTSession.h |
accessToken
The access token of the authenticated user.
@property (nonatomic, readonly, copy) NSString *accessTokenDeclared In
SPTSession.h
refreshToken
The refresh token.
@property (nonatomic, readonly, copy) NSString *refreshTokenDeclared In
SPTSession.h
expirationDate
The expiration date of the access token.
@property (nonatomic, readonly, copy) NSDate *expirationDateDeclared In
SPTSession.h
expired
Check whether the session has expired. YES if expired; NO otherwise.
Note: The session is considered expired once the current date and time is equal to or greater than the expiration date
and time.
@property (nonatomic, readonly, getter=isExpired) BOOL expiredDeclared In
SPTSession.h