PFLogInViewController Class Reference
Inherits from | UIViewController |
---|---|
Conforms to | UITextFieldDelegate |
Declared in | PFLogInViewController.h |
Overview
The PFLogInViewController
class presents and manages a standard authentication interface for logging in a PFUser.
Configuring Log In Elements
fields
A bitmask specifying the log in elements which are enabled in the view.
@property (nonatomic, assign) PFLogInFields fields
See Also
Declared In
PFLogInViewController.h
logInView
The log in view. It contains all the enabled log in elements.
@property (nullable, nonatomic, strong, readonly) PFLogInView *logInView
See Also
Declared In
PFLogInViewController.h
Configuring Log In Behaviors
delegate
The delegate that responds to the control events of PFLogInViewController
.
@property (nullable, nonatomic, weak) id<PFLogInViewControllerDelegate> delegate
See Also
Declared In
PFLogInViewController.h
facebookPermissions
The facebook permissions that Facebook log in requests for.
@property (nullable, nonatomic, copy) NSArray *facebookPermissions
Discussion
If unspecified, the default is basic facebook permissions.
Declared In
PFLogInViewController.h
signUpController
The sign up controller if sign up is enabled.
@property (nullable, nonatomic, strong) PFSignUpViewController *signUpController
Discussion
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.
Declared In
PFLogInViewController.h
emailAsUsername
Whether to prompt for the email as username on the login view.
@property (nonatomic, assign) BOOL emailAsUsername
Discussion
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
.
Declared In
PFLogInViewController.h