Plugins/Purple Service/AIXMPPOAuthWebViewWindowController.h
author Thijs Alkemade <>
Tue, 18 Sep 2012 23:06:14 +0200
changeset 5089 a761745f82a1
parent 4906 Plugins/Purple Service/AIFacebookXMPPOAuthWebViewWindowController.h@c2721a058c9b
permissions -rw-r--r--
Started working on OAuth2 support for GTalk.

Abstracted the OAuth2 support of Facebook into a separate AIPurpleOAuthJabberAccount.

Logging in on GTalk gets to the auth token.

Refs #16161
//  AIFacebookXMPPOAuthWebViewWindowController.h
//  Adium
//  Created by Colin Barrett on 11/19/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.

#import <Adium/AIWindowController.h>
#import <WebKit/WebKit.h>

@class AIPurpleOAuthJabberAccount;

@interface AIXMPPOAuthWebViewWindowController : AIWindowController {
    IBOutlet WebView *webView;
	IBOutlet NSProgressIndicator *spinner;
	AIPurpleOAuthJabberAccount *account;
	NSString *autoFillUsername;
	NSString *autoFillPassword;
    BOOL     isMigrating;
    BOOL notifiedAccount;

@property (nonatomic, retain) IBOutlet WebView *webView;
@property (nonatomic, retain) IBOutlet NSProgressIndicator *spinner;

@property (nonatomic, retain) NSMutableDictionary *cookies;
@property (nonatomic, retain) AIPurpleOAuthJabberAccount *account;

@property (nonatomic, retain) NSString *autoFillUsername;
@property (nonatomic, retain) NSString *autoFillPassword;
@property (nonatomic)         BOOL     isMigrating;