// // XMPPXOAuth2Google.h // Off the Record // // Created by David Chiles on 9/13/13. // Copyright (c) 2013 Chris Ballinger. All rights reserved. // #import #import "XMPPSASLAuthentication.h" #import "XMPPStream.h" @interface XMPPXOAuth2Google : NSObject -(id)initWithStream:(XMPPStream *)stream accessToken:(NSString *)accessToken; @end @interface XMPPStream (XMPPXOAuth2Google) - (BOOL)supportsXOAuth2GoogleAuthentication; - (BOOL)authenticateWithGoogleAccessToken:(NSString *)accessToken error:(NSError **)errPtr; @end