MSLoginController Class Reference
Inherits from | UIViewController |
---|---|
Declared in | MSLoginController.h |
Overview
The MSLoginController class provides a UIViewController that can be presented to allow an end user to authenticate with a Microsoft Azure Mobile Service.
Initializing the MSLoginController object
– initWithClient:provider:completion:
Initializes an MSLoginController instance with the given client, login provider and completion block.
- (nonnull instancetype)initWithClient:(nonnull MSClient *)client provider:(nonnull NSString *)provider completion:(nullable MSClientLoginBlock)completion
Discussion
Initializes an MSLoginController instance with the given client, login provider and completion block.
Declared In
MSLoginController.h
Properties
client
The client associated with this MSLoginController.
@property (nonatomic, strong, readonly, nonnull) MSClient *client
Discussion
The client associated with this MSLoginController.
Declared In
MSLoginController.h
provider
The login provider associated with this MSLoginController.
@property (nonatomic, copy, readonly, nonnull) NSString *provider
Discussion
The login provider associated with this MSLoginController.
Declared In
MSLoginController.h
activityIndicator
The UIActivityIndicatorView on the UIToolbar associated with the MSLoginController. If the toolbar is visible, the actvivity indicator will become active whenever the end user is navigating to a new URL during the login flow.
@property (nonatomic, strong, readonly, nullable) UIActivityIndicatorView *activityIndicator
Discussion
The UIActivityIndicatorView on the UIToolbar associated with the MSLoginController. If the toolbar is visible, the actvivity indicator will become active whenever the end user is navigating to a new URL during the login flow.
Declared In
MSLoginController.h
toolbar
The UIToolbar associated with the MSLoginController. The toolbar includes a cancel button and an activity indicator. The visibility and placement of the toolbar can be configured using the showToolbar and toolbarPosition properties respectively.
@property (nonatomic, strong, readonly, nullable) UIToolbar *toolbar
Discussion
The UIToolbar associated with the MSLoginController. The toolbar includes a cancel button and an activity indicator. The visibility and placement of the toolbar can be configured using the showToolbar and toolbarPosition properties respectively.
Declared In
MSLoginController.h
Customizing the Toolbar
toolbarPosition
Indicates if the toolbar should be positioned at the top or bottom of the login view. By default, the toolbarPosition is UIToolbarPositionBottom.
@property (nonatomic, readwrite) UIToolbarPosition toolbarPosition
Discussion
Indicates if the toolbar should be positioned at the top or bottom of the login view. By default, the toolbarPosition is UIToolbarPositionBottom.
Declared In
MSLoginController.h