L7SAuthenticationProvider Class Reference
Inherits from | NSObject |
Declared in | L7SAuthenticationProvider.h |
Tasks
-
– loadQRCode:withPollDelay:pollInterval:maxPollCount:
Load QR code by passing with an imageView and polling configuration. The size of the QR image will be based on the width of the imageView.
-
– loadQRCode:
Load QR code by passing with an imageView. The default polling configuration will be applied (deplay: 10 seconds, interval: 5 seconds, maxPoll: 6)
-
– isQRCodeAvailable
Check if QR code is available
-
– removeQRImage
This method will remove the QR image from the login dialog, and stop the polling
-
– getSocialLoginProviders
Get a list of social login providers
Instance Methods
getSocialLoginProviders
Get a list of social login providers
- (NSArray *)getSocialLoginProviders
Discussion
Get a list of social login providers
Declared In
L7SAuthenticationProvider.h
isQRCodeAvailable
Check if QR code is available
- (BOOL)isQRCodeAvailable
Discussion
Check if QR code is available
Declared In
L7SAuthenticationProvider.h
loadQRCode:
Load QR code by passing with an imageView. The default polling configuration will be applied (deplay: 10 seconds, interval: 5 seconds, maxPoll: 6)
- (void)loadQRCode:(UIImageView *)imageView
Discussion
Load QR code by passing with an imageView. The default polling configuration will be applied (deplay: 10 seconds, interval: 5 seconds, maxPoll: 6)
Declared In
L7SAuthenticationProvider.h
loadQRCode:withPollDelay:pollInterval:maxPollCount:
Load QR code by passing with an imageView and polling configuration. The size of the QR image will be based on the width of the imageView.
- (void)loadQRCode:(UIImageView *)imageView withPollDelay:(NSTimeInterval)pollDelay pollInterval:(NSTimeInterval)pollInterval maxPollCount:(int)maxPoll
Parameters
- imageView
the imageView that contains the QR code
- pollDelay
the delay (measured in seconds) for the first poll. Specify value of 0 or negative value will trigger an exception
- maxPoll
the maximum number of polls. Specify value of 0 or negative value will trigger an exception
- pollIntervals
the interval (measured in seconds) between pools. Specify value of 0 or negative value will trigger an exception
Discussion
Load QR code by passing with an imageView and polling configuration. The size of the QR image will be based on the width of the imageView.
Declared In
L7SAuthenticationProvider.h