PFUserAuthenticationDelegate
Objective-C
@protocol PFUserAuthenticationDelegate <NSObject>
Swift
protocol PFUserAuthenticationDelegate : NSObjectProtocol
Provides a general interface for delegation of third party authentication with PFUsers.
-
Called when restoring third party authentication credentials that have been serialized, such as session keys, user id, etc.
Note
This method will be executed on a background thread.
Declaration
Objective-C
- (BOOL)restoreAuthenticationWithAuthData: (nullable NSDictionary<NSString *, NSString *> *)authData;Swift
func restoreAuthentication(withAuthData authData: [String : String]?) -> BoolParameters
authDataThe auth data for the provider. This value may be
nilwhen unlinking an account.Return Value
YES- if theauthDatawas succesfully synchronized, orNOif user should not longer be associated because of badauthData.
View on GitHub
Install in Dash