|
@@ -71,6 +71,8 @@
|
|
selector:@selector(boxApiTokenDidRefresh)
|
|
selector:@selector(boxApiTokenDidRefresh)
|
|
name:BoxOAuth2SessionDidBecomeAuthenticatedNotification
|
|
name:BoxOAuth2SessionDidBecomeAuthenticatedNotification
|
|
object:[BoxSDK sharedSDK].OAuth2Session];
|
|
object:[BoxSDK sharedSDK].OAuth2Session];
|
|
|
|
+
|
|
|
|
+#if TARGET_OS_IOS
|
|
// Handle logout
|
|
// Handle logout
|
|
[defaultCenter addObserver:self
|
|
[defaultCenter addObserver:self
|
|
selector:@selector(boxDidGetLoggedOut)
|
|
selector:@selector(boxDidGetLoggedOut)
|
|
@@ -89,6 +91,7 @@
|
|
selector:@selector(boxAPIInitiateLogin)
|
|
selector:@selector(boxAPIInitiateLogin)
|
|
name:BoxOAuth2SessionDidReceiveRefreshErrorNotification
|
|
name:BoxOAuth2SessionDidReceiveRefreshErrorNotification
|
|
object:[BoxSDK sharedSDK].OAuth2Session];
|
|
object:[BoxSDK sharedSDK].OAuth2Session];
|
|
|
|
+#endif
|
|
}
|
|
}
|
|
|
|
|
|
#if TARGET_OS_IOS
|
|
#if TARGET_OS_IOS
|