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 *accessToken
Declared In
SPTSession.h
refreshToken
The refresh token.
@property (nonatomic, readonly, copy) NSString *refreshToken
Declared In
SPTSession.h
expirationDate
The expiration date of the access token.
@property (nonatomic, readonly, copy) NSDate *expirationDate
Declared 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 expired
Declared In
SPTSession.h