From 655e6650051a9c08675d15e05ac3b7d9be98e714 Mon Sep 17 00:00:00 2001
From: hank <hank.zhang@proficientcity.com>
Date: Wed, 18 Apr 2018 15:28:32 +0800
Subject: [PATCH] 添加V3.6.7

---
 frameworks/TwitterCore.framework/Headers/TWTRSessionStore.h |   41 +++++++++++++++++++++++++++++++++++------
 1 files changed, 35 insertions(+), 6 deletions(-)

diff --git a/frameworks/TwitterCore.framework/Headers/TWTRSessionStore.h b/frameworks/TwitterCore.framework/Headers/TWTRSessionStore.h
index fa15a28..b96dfb4 100644
--- a/frameworks/TwitterCore.framework/Headers/TWTRSessionStore.h
+++ b/frameworks/TwitterCore.framework/Headers/TWTRSessionStore.h
@@ -1,9 +1,19 @@
-//
-//  TWTRSessionStore.h
-//  TwitterCore
-//
-//  Copyright (c) 2015 Twitter Inc. All rights reserved.
-//
+/*
+ * Copyright (C) 2017 Twitter, Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
 @class TWTRAuthConfig;
 @class TWTRGuestSession;
@@ -120,6 +130,11 @@
  */
 - (NSArray *)existingUserSessions;
 
+/**
+ *  Returns YES if there are existing user sessions.
+ *
+ *  @note This is a blocking call.
+ */
 - (BOOL)hasLoggedInUsers;
 
 /**
@@ -210,6 +225,20 @@
  */
 - (void)reloadSessionStore;
 
+/**
+ *  Sets a local string which can be used to verify the auth token using
+ *  isValidOauthToken:
+ */
+- (void)saveOauthToken:(NSString *)token;
+
+/**
+ *  If saveOauthToken is called then this will compare the set to the token passed by the token parameter.
+ *  This is used to verify the token generated from the oauth/request_token request after a URL has been passed
+ *  back from web authenticatoin.
+ *
+ *  Returns YES is the token string matches the internal OAuth token.
+ */
+- (BOOL)isValidOauthToken:(NSString *)token;
 @end
 
 NS_ASSUME_NONNULL_END

--
Gitblit v1.8.0