PFLogInViewController

@interface PFLogInViewController : UIViewController <UITextFieldDelegate>

The PFLogInViewController class presents and manages a standard authentication interface for logging in a PFUser.

  • A bitmask specifying the log in elements which are enabled in the view.

    See

    PFLogInFields

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) PFLogInFields fields;
  • The log in view. It contains all the enabled log in elements.

    See

    PFLogInView

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic, nullable) PFLogInView *logInView;
  • The delegate that responds to the control events of PFLogInViewController.

    See

    PFLogInViewControllerDelegate

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable)
        id<PFLogInViewControllerDelegate> delegate;
  • The facebook permissions that Facebook log in requests for.

    If unspecified, the default is basic facebook permissions.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable)
        NSArray<NSString *> *facebookPermissions;
  • The sign up controller if sign up is enabled.

    Use this to configure the sign up view, and the transition animation to the sign up view. The default is a sign up view with a username, a password, a dismiss button and a sign up button.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic, nullable)
        PFSignUpViewController *signUpController;
  • Whether to prompt for the email as username on the login view.

    If set to YES, we’ll prompt for the email in the username field. This property value propagates to the attached signUpController. By default, this is set to NO.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL emailAsUsername;