motion-firebase 2.1.5 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +192 -64
  3. data/lib/firebase-auth/firebase_simple_login.rb +0 -76
  4. data/lib/firebase/fdata_snapshot.rb +4 -0
  5. data/lib/firebase/firebase.rb +53 -42
  6. data/lib/firebase/firebase_auth.rb +219 -0
  7. data/lib/firebase/firebase_facebook_helper.rb +24 -0
  8. data/lib/firebase/firebase_github_helper.rb +20 -0
  9. data/lib/firebase/firebase_twitter_helper.rb +169 -0
  10. data/lib/firebase/fquery.rb +16 -4
  11. data/lib/firebase/version.rb +2 -1
  12. data/lib/motion-firebase-auth.rb +3 -11
  13. data/lib/motion-firebase.rb +3 -1
  14. metadata +6 -19
  15. data/lib/vendor/Firebase.framework/Firebase +0 -0
  16. data/lib/vendor/Firebase.framework/Versions/A/Firebase +0 -0
  17. data/lib/vendor/Firebase.framework/Versions/A/Headers/FDataSnapshot.h +0 -146
  18. data/lib/vendor/Firebase.framework/Versions/A/Headers/FEventType.h +0 -43
  19. data/lib/vendor/Firebase.framework/Versions/A/Headers/FMutableData.h +0 -139
  20. data/lib/vendor/Firebase.framework/Versions/A/Headers/FQuery.h +0 -229
  21. data/lib/vendor/Firebase.framework/Versions/A/Headers/FTransactionResult.h +0 -50
  22. data/lib/vendor/Firebase.framework/Versions/A/Headers/Firebase.h +0 -707
  23. data/lib/vendor/Firebase.framework/build-MacOSX/Firebase.framework.bridgesupport +0 -582
  24. data/lib/vendor/Firebase.framework/build-iPhoneSimulator/Firebase.framework.bridgesupport +0 -582
  25. data/lib/vendor/FirebaseSimpleLogin.framework/FirebaseSimpleLogin +0 -0
  26. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/FirebaseSimpleLogin +0 -0
  27. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FATypes.h +0 -52
  28. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FAUser.h +0 -97
  29. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FirebaseSimpleLogin.h +0 -221
  30. data/lib/vendor/FirebaseSimpleLogin.framework/build-MacOSX/FirebaseSimpleLogin.framework.bridgesupport +0 -230
  31. data/lib/vendor/FirebaseSimpleLogin.framework/build-iPhoneSimulator/FirebaseSimpleLogin.framework.bridgesupport +0 -230
@@ -1,52 +0,0 @@
1
- /*
2
- * Firebase iOS Simple Login Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #ifndef FirebaseSimpleLogin_FATypes_h
30
- #define FirebaseSimpleLogin_FATypes_h
31
-
32
- typedef enum {
33
- FAErrorUserDoesNotExist = -1,
34
- FAErrorInvalidPassword = -2,
35
- FAErrorAccessNotGranted = -3,
36
- FAErrorAccountNotFound = -4,
37
- FAErrorAuthenticationProviderNotEnabled = -5,
38
- FAErrorInvalidEmail = -6,
39
- FAErrorBadSystemToken = -7,
40
- FAErrorUnknown = -9999
41
- } FAError;
42
-
43
- typedef enum {
44
- FAProviderInvalid = -1,
45
- FAProviderPassword = 1,
46
- FAProviderFacebook = 2,
47
- FAProviderTwitter = 3,
48
- FAProviderAnonymous = 4,
49
- FAProviderGoogle = 5
50
- } FAProvider;
51
-
52
- #endif
@@ -1,97 +0,0 @@
1
- /*
2
- * Firebase iOS Simple Login Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #import <Foundation/Foundation.h>
30
- #import <Accounts/Accounts.h>
31
- #import "FATypes.h"
32
-
33
-
34
- /**
35
- * The FAUser class is a wrapper around the user metadata returned from the Firebase auth server.
36
- * It includes a (userId, provider) combo that is unique, as well as the token used to authenticate with Firebase.
37
- *
38
- * It may include other metadata about the user, depending on the provider used to do the authentication.
39
- */
40
- @interface FAUser : NSObject
41
-
42
-
43
- /** @name Required properties */
44
-
45
-
46
- /**
47
- * @return A userId for this user. It is unique for the given auth provider.
48
- */
49
- @property (nonatomic, strong) NSString* userId;
50
-
51
-
52
- /**
53
- * @return A uid for this user. It is unique across all auth providers.
54
- */
55
- @property (nonatomic, strong) NSString* uid;
56
-
57
-
58
- /**
59
- * @return The provider that authenticated this user
60
- */
61
- @property (nonatomic) FAProvider provider;
62
-
63
-
64
- /**
65
- * @return The token that was used to authenticate this user with Firebase
66
- */
67
- @property (nonatomic, strong) NSString* authToken;
68
-
69
-
70
- /** @name Optional properties */
71
-
72
-
73
- /**
74
- * @return The user's email if this user was authenticated via email/password, nil otherwise
75
- */
76
- @property (strong, nonatomic) NSString* email;
77
-
78
-
79
- /**
80
- * @return A flag indicating whether or not the user logged in with a temporary password after a password reset
81
- */
82
- @property (nonatomic) BOOL* isTemporaryPassword;
83
-
84
-
85
- /**
86
- * @return Metadata about the user provided by third party authentication services if such a service was used for this user. Nil otherwise.
87
- */
88
- @property (strong, nonatomic) NSDictionary* thirdPartyUserData;
89
-
90
-
91
- /**
92
- * @return The ACAccount instance provided by the OS. This can be used for getting more information about the user from
93
- * a third party via SLRequest
94
- */
95
- @property (strong, nonatomic) ACAccount* thirdPartyUserAccount;
96
-
97
- @end
@@ -1,221 +0,0 @@
1
- /*
2
- * Firebase iOS Simple Login Library
3
- *
4
- * Copyright © 2013 Firebase - All Rights Reserved
5
- * https://www.firebase.com
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- *
10
- * 1. Redistributions of source code must retain the above copyright notice, this
11
- * list of conditions and the following disclaimer.
12
- *
13
- * 2. Redistributions in binaryform must reproduce the above copyright notice,
14
- * this list of conditions and the following disclaimer in the documentation
15
- * and/or other materials provided with the distribution.
16
- *
17
- * THIS SOFTWARE IS PROVIDED BY FIREBASE AS IS AND ANY EXPRESS OR
18
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
19
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
20
- * EVENT SHALL FIREBASE BE LIABLE FOR ANY DIRECT,
21
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
- * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
- * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
- */
28
-
29
- #import <Foundation/Foundation.h>
30
- #import <Firebase/Firebase.h>
31
-
32
- #import "FAUser.h"
33
-
34
- /**
35
- * A FirebaseSimpleLogin client instance for authenticating Firebase references with email / password, Facebook, or Twitter.
36
- */
37
- @interface FirebaseSimpleLogin : NSObject
38
-
39
-
40
- /** @name Initializing a FirebaseSimpleLogin instance */
41
-
42
-
43
- /**
44
- * You must initialize the Simple Login with a Firebase reference. The Simple Login client will use that reference to authenticate to the Firebase servers
45
- *
46
- * @param ref A valid Firebase reference
47
- * @return An initialized instance of FirebaseSimpleLogin
48
- */
49
- - (id) initWithRef:(Firebase *)ref;
50
-
51
-
52
- /**
53
- * You must initialize the Simple Login with a Firebase reference. The Simple Login client will use that reference to authenticate to the Firebase servers
54
- *
55
- * @param ref A valid Firebase reference
56
- @ @param options A dictionary of options to respect (i.e. @{ @"flag": @YES } )
57
- * @return An initialized instance of FirebaseSimpleLogin
58
- */
59
- - (id) initWithRef:(Firebase *)aRef andOptions:(NSDictionary *)options;
60
-
61
-
62
- /** @name Checking current authentication status */
63
-
64
- /**
65
- * checkAuthStatusWithBlock: will determine if there is a logged in user. The provided block will be called asynchronously with the results of the check
66
- *
67
- * @param block The block to be called with result of the authentication check.
68
- */
69
- - (void) checkAuthStatusWithBlock:(void (^)(NSError* error, FAUser* user))block;
70
-
71
-
72
- /** @name Removing any existing authentication */
73
-
74
- /**
75
- * Log the current user out, and clear any stored credentials
76
- */
77
- - (void) logout;
78
-
79
-
80
- /** @name Email/password authentication methods */
81
-
82
-
83
- /**
84
- * Used to create a new user account with the given email and password combo. The results will be passed to the given block.
85
- * Note that this method will not log the new user in.
86
- *
87
- * @param email The email for the account to be created
88
- * @param password The password for the account to be created
89
- * @param block The block to be called with the results of the operation
90
- */
91
- - (void) createUserWithEmail:(NSString *)email password:(NSString *)password andCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
92
-
93
-
94
- /**
95
- * Remove a user account with the given email and password.
96
- *
97
- * @param email The email of the account to be removed
98
- * @param password The password for the account to be removed
99
- * @param block A block to receive the results of the operation
100
- */
101
- - (void) removeUserWithEmail:(NSString *)email password:(NSString *)password andCompletionBlock:(void (^)(NSError* error, BOOL success))block;
102
-
103
-
104
- /**
105
- * Attempts to authenticate to Firebase with the given credentials. The block will receive the results of the attempt.
106
- *
107
- * @param email The email of the account
108
- * @param password The password for the account
109
- * @param block A block to receive the results of the login attempt
110
- */
111
- - (void) loginWithEmail:(NSString *)email andPassword:(NSString *)password withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
112
-
113
-
114
- /**
115
- * Attempts to change the password for the account with the given credentials to the new password given. Results are reported to the supplied block.
116
- *
117
- * @param email The email for the account to be changed
118
- * @param oldPassword The old password for the account to be changed
119
- * @param newPassword The desired newPassword for the account
120
- * @param block A block to receive the results of the operation
121
- */
122
- - (void) changePasswordForEmail:(NSString *)email oldPassword:(NSString *)oldPassword newPassword:(NSString *)newPassword completionBlock:(void (^)(NSError* error, BOOL success))block;
123
-
124
- /**
125
- * Send a password reset email to the owner of the account with the given email. Results are reported to the supplied block.
126
- *
127
- * @param email The email of the account to be removed
128
- * @param block A block to receive the results of the operation
129
- */
130
- - (void) sendPasswordResetForEmail:(NSString *)email andCompletionBlock:(void (^)(NSError* error, BOOL success))block;
131
-
132
-
133
- /** @name Facebook authentication methods */
134
-
135
-
136
- /**
137
- * Attempts to log the user in to the Facebook app with the specified appId. The block will be called with the results of the attempt.
138
- *
139
- * @param appId The Facebook application id for the app to log into. Make sure that the app has your bundle id registered in the facebook developer console
140
- * @param permissions An array of strings, specifying the desired permissions for this user. If the array is empty, 'email' permission will be requested
141
- * @param audience One of ACFacebookAudienceEveryone, ACFacebookAudienceFriends, ACFacebookAudienceOnlyMe, or nil. Required if your requested permissions include any write access. Assumed to be ACFacebookAudienceOnlyMe is nil is passed
142
- * @param block A block that will be called with the results of the login attempt
143
- */
144
- - (void) loginToFacebookAppWithId:(NSString *)appId permissions:(NSArray *)permissions audience:(NSString *)audience withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
145
-
146
- - (void) createFacebookUserWithToken:(NSString *)token appId:(NSString *)appId withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
147
-
148
- /**
149
- * Attempts to log the user in to the Facebook app with the specified access token. The block will be called with the results of the attempt.
150
- *
151
- * @param accessToken The Facebook access token to use when logging in
152
- * @param block A block that will be called with the results of the login attempt
153
- */
154
- - (void) loginWithFacebookWithAccessToken:(NSString *)accessToken withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
155
-
156
-
157
- /** @name Google authentication methods */
158
-
159
- /**
160
- * Attempts to log the user in to the Google app with the specified access token. The block will be called with the results of the attempt.
161
- *
162
- * @param accessToken The Google access token to use when logging in
163
- * @param block A block that will be called with the results of the login attempt
164
- */
165
- - (void) loginToGoogleWithAccessToken:(NSString *)accessToken withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
166
-
167
- /**
168
- * Attempts to log the user in to the Google app with the specified access token. The block will be called with the results of the attempt.
169
- *
170
- * @param accessToken The Google access token to use when logging in
171
- * @param block A block that will be called with the results of the login attempt
172
- */
173
- - (void) loginWithGoogleWithAccessToken:(NSString *)accessToken withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
174
-
175
-
176
- /** @name Twitter authentication methods */
177
-
178
-
179
- /**
180
- * Attempts to log the user in to the Twitter app with the specified appId.
181
- * Requires a block to handle the case where multiple twitter accounts are registered with the OS. The block will be given an array of usernames and should return
182
- * the index of the desired account. If, after seeing the list, no account is selected, return NSNotFound.
183
- *
184
- * @param appId The Twitter app id to log the user into
185
- * @param accountSelection A block to handle the case where the OS presents multiple Twitter accounts to choose from. Return the index of the desired username, or NSNotFound
186
- * @param block A block that will be called with the results of the login attempt.
187
- */
188
- - (void) loginToTwitterAppWithId:(NSString *)appId multipleAccountsHandler:(int (^)(NSArray* usernames))accountSelection withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
189
-
190
- /**
191
- * Attempts to log the user in to the Twitter app with the specified access token, access token secret, and Twitter user id. The
192
- * block will be called with the results of the attempt.
193
- *
194
- * @param accessToken The Twitter access token to use when logging in
195
- * @param accessTokenSecret The Twitter access token secret to use when logging in
196
- * @param twitterUserId The Twitter user id to use when logging in
197
- * @param block A block that will be called with the results of the login attempt
198
- */
199
-
200
- - (void) loginWithTwitterWithAccessToken:(NSString *)accessToken andAccessTokenSecret:(NSString *)accessTokenSecret
201
- andTwitterUserId:(NSString *)twitterUserId withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
202
-
203
- /** @name Anonymous authentication methods */
204
-
205
-
206
- /**
207
- * Attempts to log the user in anonymously. The block will receive the results of the attempt.
208
- *
209
- * @param block A block to receive the results of the login attempt.
210
- */
211
- - (void) loginAnonymouslywithCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
212
-
213
-
214
- /** @name Global configuration and settings */
215
-
216
- /**
217
- * @return The FirebaseSimpleLogin SDK version
218
- */
219
- + (NSString *) sdkVersion;
220
-
221
- @end
@@ -1,230 +0,0 @@
1
- <?xml version='1.0'?>
2
- <signatures version='1.0'>
3
- <enum name='FAErrorAccessNotGranted' value='-3'/>
4
- <enum name='FAErrorAccountNotFound' value='-4'/>
5
- <enum name='FAErrorAuthenticationProviderNotEnabled' value='-5'/>
6
- <enum name='FAErrorBadSystemToken' value='-7'/>
7
- <enum name='FAErrorInvalidEmail' value='-6'/>
8
- <enum name='FAErrorInvalidPassword' value='-2'/>
9
- <enum name='FAErrorUnknown' value='-9999'/>
10
- <enum name='FAErrorUserDoesNotExist' value='-1'/>
11
- <enum name='FAProviderAnonymous' value='4'/>
12
- <enum name='FAProviderFacebook' value='2'/>
13
- <enum name='FAProviderGoogle' value='5'/>
14
- <enum name='FAProviderInvalid' value='-1'/>
15
- <enum name='FAProviderPassword' value='1'/>
16
- <enum name='FAProviderTwitter' value='3'/>
17
- <class name='FAUser'>
18
- <method selector='authToken'>
19
- <retval declared_type='NSString*' type='@'/>
20
- </method>
21
- <method selector='email'>
22
- <retval declared_type='NSString*' type='@'/>
23
- </method>
24
- <method selector='isTemporaryPassword'>
25
- <retval declared_type='BOOL*' type='^B'/>
26
- </method>
27
- <method selector='provider'>
28
- <retval declared_type='FAProvider' type='i'/>
29
- </method>
30
- <method selector='setAuthToken:'>
31
- <arg declared_type='NSString*' index='0' name='authToken' type='@'/>
32
- <retval declared_type='void' type='v'/>
33
- </method>
34
- <method selector='setEmail:'>
35
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
36
- <retval declared_type='void' type='v'/>
37
- </method>
38
- <method selector='setIsTemporaryPassword:'>
39
- <arg declared_type='BOOL*' index='0' name='isTemporaryPassword' type='^B'/>
40
- <retval declared_type='void' type='v'/>
41
- </method>
42
- <method selector='setProvider:'>
43
- <arg declared_type='FAProvider' index='0' name='provider' type='i'/>
44
- <retval declared_type='void' type='v'/>
45
- </method>
46
- <method selector='setThirdPartyUserAccount:'>
47
- <arg declared_type='ACAccount*' index='0' name='thirdPartyUserAccount' type='@'/>
48
- <retval declared_type='void' type='v'/>
49
- </method>
50
- <method selector='setThirdPartyUserData:'>
51
- <arg declared_type='NSDictionary*' index='0' name='thirdPartyUserData' type='@'/>
52
- <retval declared_type='void' type='v'/>
53
- </method>
54
- <method selector='setUid:'>
55
- <arg declared_type='NSString*' index='0' name='uid' type='@'/>
56
- <retval declared_type='void' type='v'/>
57
- </method>
58
- <method selector='setUserId:'>
59
- <arg declared_type='NSString*' index='0' name='userId' type='@'/>
60
- <retval declared_type='void' type='v'/>
61
- </method>
62
- <method selector='thirdPartyUserAccount'>
63
- <retval declared_type='ACAccount*' type='@'/>
64
- </method>
65
- <method selector='thirdPartyUserData'>
66
- <retval declared_type='NSDictionary*' type='@'/>
67
- </method>
68
- <method selector='uid'>
69
- <retval declared_type='NSString*' type='@'/>
70
- </method>
71
- <method selector='userId'>
72
- <retval declared_type='NSString*' type='@'/>
73
- </method>
74
- </class>
75
- <class name='FirebaseSimpleLogin'>
76
- <method selector='changePasswordForEmail:oldPassword:newPassword:completionBlock:'>
77
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
78
- <arg declared_type='NSString*' index='1' name='oldPassword' type='@'/>
79
- <arg declared_type='NSString*' index='2' name='newPassword' type='@'/>
80
- <arg declared_type='void (^)(NSError *, BOOL)' function_pointer='true' index='3' name='block' type='@?'>
81
- <arg declared_type='NSError*' type='@'/>
82
- <arg declared_type='BOOL' type='B'/>
83
- <retval declared_type='void' type='v'/>
84
- </arg>
85
- <retval declared_type='void' type='v'/>
86
- </method>
87
- <method selector='checkAuthStatusWithBlock:'>
88
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='0' name='block' type='@?'>
89
- <arg declared_type='NSError*' type='@'/>
90
- <arg declared_type='FAUser*' type='@'/>
91
- <retval declared_type='void' type='v'/>
92
- </arg>
93
- <retval declared_type='void' type='v'/>
94
- </method>
95
- <method selector='createFacebookUserWithToken:appId:withCompletionBlock:'>
96
- <arg declared_type='NSString*' index='0' name='token' type='@'/>
97
- <arg declared_type='NSString*' index='1' name='appId' type='@'/>
98
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
99
- <arg declared_type='NSError*' type='@'/>
100
- <arg declared_type='FAUser*' type='@'/>
101
- <retval declared_type='void' type='v'/>
102
- </arg>
103
- <retval declared_type='void' type='v'/>
104
- </method>
105
- <method selector='createUserWithEmail:password:andCompletionBlock:'>
106
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
107
- <arg declared_type='NSString*' index='1' name='password' type='@'/>
108
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
109
- <arg declared_type='NSError*' type='@'/>
110
- <arg declared_type='FAUser*' type='@'/>
111
- <retval declared_type='void' type='v'/>
112
- </arg>
113
- <retval declared_type='void' type='v'/>
114
- </method>
115
- <method selector='initWithRef:'>
116
- <arg declared_type='id' index='0' name='ref' type='@'/>
117
- <retval declared_type='id' type='@'/>
118
- </method>
119
- <method selector='initWithRef:andOptions:'>
120
- <arg declared_type='id' index='0' name='aRef' type='@'/>
121
- <arg declared_type='NSDictionary*' index='1' name='options' type='@'/>
122
- <retval declared_type='id' type='@'/>
123
- </method>
124
- <method selector='loginAnonymouslywithCompletionBlock:'>
125
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='0' name='block' type='@?'>
126
- <arg declared_type='NSError*' type='@'/>
127
- <arg declared_type='FAUser*' type='@'/>
128
- <retval declared_type='void' type='v'/>
129
- </arg>
130
- <retval declared_type='void' type='v'/>
131
- </method>
132
- <method selector='loginToFacebookAppWithId:permissions:audience:withCompletionBlock:'>
133
- <arg declared_type='NSString*' index='0' name='appId' type='@'/>
134
- <arg declared_type='NSArray*' index='1' name='permissions' type='@'/>
135
- <arg declared_type='NSString*' index='2' name='audience' type='@'/>
136
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='3' name='block' type='@?'>
137
- <arg declared_type='NSError*' type='@'/>
138
- <arg declared_type='FAUser*' type='@'/>
139
- <retval declared_type='void' type='v'/>
140
- </arg>
141
- <retval declared_type='void' type='v'/>
142
- </method>
143
- <method selector='loginToGoogleWithAccessToken:withCompletionBlock:'>
144
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
145
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='1' name='block' type='@?'>
146
- <arg declared_type='NSError*' type='@'/>
147
- <arg declared_type='FAUser*' type='@'/>
148
- <retval declared_type='void' type='v'/>
149
- </arg>
150
- <retval declared_type='void' type='v'/>
151
- </method>
152
- <method selector='loginToTwitterAppWithId:multipleAccountsHandler:withCompletionBlock:'>
153
- <arg declared_type='NSString*' index='0' name='appId' type='@'/>
154
- <arg declared_type='int (^)(NSArray *)' function_pointer='true' index='1' name='accountSelection' type='@?'>
155
- <arg declared_type='NSArray*' type='@'/>
156
- <retval declared_type='int' type='i'/>
157
- </arg>
158
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
159
- <arg declared_type='NSError*' type='@'/>
160
- <arg declared_type='FAUser*' type='@'/>
161
- <retval declared_type='void' type='v'/>
162
- </arg>
163
- <retval declared_type='void' type='v'/>
164
- </method>
165
- <method selector='loginWithEmail:andPassword:withCompletionBlock:'>
166
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
167
- <arg declared_type='NSString*' index='1' name='password' type='@'/>
168
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
169
- <arg declared_type='NSError*' type='@'/>
170
- <arg declared_type='FAUser*' type='@'/>
171
- <retval declared_type='void' type='v'/>
172
- </arg>
173
- <retval declared_type='void' type='v'/>
174
- </method>
175
- <method selector='loginWithFacebookWithAccessToken:withCompletionBlock:'>
176
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
177
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='1' name='block' type='@?'>
178
- <arg declared_type='NSError*' type='@'/>
179
- <arg declared_type='FAUser*' type='@'/>
180
- <retval declared_type='void' type='v'/>
181
- </arg>
182
- <retval declared_type='void' type='v'/>
183
- </method>
184
- <method selector='loginWithGoogleWithAccessToken:withCompletionBlock:'>
185
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
186
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='1' name='block' type='@?'>
187
- <arg declared_type='NSError*' type='@'/>
188
- <arg declared_type='FAUser*' type='@'/>
189
- <retval declared_type='void' type='v'/>
190
- </arg>
191
- <retval declared_type='void' type='v'/>
192
- </method>
193
- <method selector='loginWithTwitterWithAccessToken:andAccessTokenSecret:andTwitterUserId:withCompletionBlock:'>
194
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
195
- <arg declared_type='NSString*' index='1' name='accessTokenSecret' type='@'/>
196
- <arg declared_type='NSString*' index='2' name='twitterUserId' type='@'/>
197
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='3' name='block' type='@?'>
198
- <arg declared_type='NSError*' type='@'/>
199
- <arg declared_type='FAUser*' type='@'/>
200
- <retval declared_type='void' type='v'/>
201
- </arg>
202
- <retval declared_type='void' type='v'/>
203
- </method>
204
- <method selector='logout'>
205
- <retval declared_type='void' type='v'/>
206
- </method>
207
- <method selector='removeUserWithEmail:password:andCompletionBlock:'>
208
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
209
- <arg declared_type='NSString*' index='1' name='password' type='@'/>
210
- <arg declared_type='void (^)(NSError *, BOOL)' function_pointer='true' index='2' name='block' type='@?'>
211
- <arg declared_type='NSError*' type='@'/>
212
- <arg declared_type='BOOL' type='B'/>
213
- <retval declared_type='void' type='v'/>
214
- </arg>
215
- <retval declared_type='void' type='v'/>
216
- </method>
217
- <method class_method='true' selector='sdkVersion'>
218
- <retval declared_type='NSString*' type='@'/>
219
- </method>
220
- <method selector='sendPasswordResetForEmail:andCompletionBlock:'>
221
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
222
- <arg declared_type='void (^)(NSError *, BOOL)' function_pointer='true' index='1' name='block' type='@?'>
223
- <arg declared_type='NSError*' type='@'/>
224
- <arg declared_type='BOOL' type='B'/>
225
- <retval declared_type='void' type='v'/>
226
- </arg>
227
- <retval declared_type='void' type='v'/>
228
- </method>
229
- </class>
230
- </signatures>