From 9f077bbd393b5c47afbbfd83454f6a08a6345dbd Mon Sep 17 00:00:00 2001
From: hank <hank.zhang@proficientcity.com>
Date: Thu, 30 Aug 2018 09:20:55 +0800
Subject: [PATCH] 添加V3.7.0

---
 frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
index ef54b15..c712416 100644
--- a/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
+++ b/frameworks/FBSDKCoreKit.framework/Headers/FBSDKAccessToken.h
@@ -60,6 +60,12 @@
  */
 FBSDK_EXTERN NSString *const FBSDKAccessTokenChangeNewKey;
 
+/*
+ A key in the notification's userInfo that will be set
+ if and only if the token has expired.
+ */
+FBSDK_EXTERN NSString *const FBSDKAccessTokenDidExpire;
+
 
 /**
   Represents an immutable access token for using Facebook services.
@@ -100,6 +106,11 @@
   Returns the user ID.
  */
 @property (readonly, copy, nonatomic) NSString *userID;
+
+/**
+ Returns whether the access token is expired by checking its expirationDate property
+ */
+@property (readonly, assign, nonatomic, getter = isExpired) BOOL expired;
 
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
@@ -151,6 +162,12 @@
 + (FBSDKAccessToken *)currentAccessToken;
 
 /**
+ Returns YES if currentAccessToken is not nil AND currentAccessToken is not expired
+
+ */
++ (BOOL)currentAccessTokenIsActive;
+
+/**
   Sets the "global" access token that represents the currently logged in user.
  - Parameter token: The access token to set.
 

--
Gitblit v1.8.0