Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. [Box logoutWithCallbacks:^(id <BoxOperationCallbacks> on)
  2. {
  3. on.after(^(BoxCallbackResponse response)
  4. {
  5. });
  6. }];
  7.  
  8. BoxSDK *sdk = ... // a reference to the BoxSDK for the user
  9. sdk.OAuth2Session.accessToken = @"INVALID_TOKEN";
  10. sdk.OAuth2Session.refreshToken = @"INVALID_TOKEN";
  11.  
  12. [BoxSDK sharedSDK].OAuth2Session.accessToken = nil;
  13. [BoxSDK sharedSDK].OAuth2Session.refreshToken = nil;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement