PFUserAuthenticationDelegate Protocol Reference

Conforms to NSObject
Declared in PFUserAuthenticationDelegate.h

Overview

Provides a general interface for delegation of third party authentication with PFUsers.

– restoreAuthenticationWithAuthData: required method

Called when restoring third party authentication credentials that have been serialized, such as session keys, user id, etc.

- (BOOL)restoreAuthenticationWithAuthData:(nullable NSDictionary PF_GENERIC ( NSString *, NSString *) *)authData

Parameters

authData

The auth data for the provider. This value may be nil when unlinking an account.

Return Value

YES - if the authData was succesfully synchronized, or NO if user should not longer be associated because of bad authData.

Discussion

Note: This method will be executed on a background thread.

Declared In

PFUserAuthenticationDelegate.h