SFLoginViewController Class Reference
| Inherits from | SFSDKViewController : UIViewController |
|---|---|
| Declared in | SFLoginViewController.h |
delegate
The delegate representing the owner of this object.
@property (nonatomic, weak, nullable) id<SFLoginViewControllerDelegate> delegateDeclared In
SFLoginViewController.h
oauthView
Outlet to the OAuth web view.
@property (nonatomic, strong, nullable) IBOutlet UIView *oauthViewDeclared In
SFLoginViewController.h
biometricButton
The biometric log in button
@property (nonatomic, strong, readonly, nullable) UIButton *biometricButtonDeclared In
SFLoginViewController.h
)
Specify the font to use for navigation bar header text.
@property (nonatomic, strong, nullable) UIFont *NS_SWIFT_NAME ( navigationBarFont )Declared In
SFLoginViewController.h
config
Specify all display properties in a config. All the above properties are backed by a config object
@property (nonatomic, strong, nonnull) SFSDKLoginViewControllerConfig *configDeclared In
SFLoginViewController.h
navBar
Get the instance of nav bar. Use this property to get the instance of navBar
@property (nonatomic, strong, readonly, nullable) UINavigationBar *navBarDeclared In
SFLoginViewController.h
loginHostListViewController
Get the refrence to the SFSDKLoginHostListViewController
@property (nonatomic, strong) SFSDKLoginHostListViewController *loginHostListViewControllerDeclared In
SFLoginViewController.h
– styleNavigationBar:
Applies the view’s style attributes to the given navigation bar.
- (void)styleNavigationBar:(nullable UINavigationBar *)navigationBarParameters
navigationBar |
The navigation bar that the style is applied to. |
|---|
Declared In
SFLoginViewController.h
– showHostListView
Present the Host List View.
- (void)showHostListViewDeclared In
SFLoginViewController.h
– hideHostListView:
Hide the Host List View.
- (void)hideHostListView:(BOOL)animatedParameters
animated |
Indicates whether or not the hiding should be animated. |
|---|
Declared In
SFLoginViewController.h
– createBackButton
Factory Method to create the back button.
- (nonnull UIBarButtonItem *)createBackButtonDeclared In
SFLoginViewController.h
– createSettingsButton
Factory Method to create the settings button.
- (nonnull UIBarButtonItem *)createSettingsButtonDeclared In
SFLoginViewController.h
– createTitleItem
Factory Method to create the navigation title.
- (nonnull UIView *)createTitleItemDeclared In
SFLoginViewController.h
– createLoginHostListViewController
Factory Method to create the hostListView Controller.
- (nonnull SFSDKLoginHostListViewController *)createLoginHostListViewControllerDeclared In
SFLoginViewController.h
– shouldShowBackButton
Logic to show back button.
- (BOOL)shouldShowBackButtonDeclared In
SFLoginViewController.h
– handleBackButtonAction
Back Button was pressed by user
- (void)handleBackButtonActionDeclared In
SFLoginViewController.h
– handleLoginHostSelectedAction:
User Selected a host from the host list
- (void)handleLoginHostSelectedAction:(nonnull SFSDKLoginHost *)hostParameters
host |
|---|
Declared In
SFLoginViewController.h