HybridOfflineAuthenticationHandlerDelegate
public protocol HybridOfflineAuthenticationHandlerDelegate: class
Supports using hybrid webapps for offline password management where TouchId is not available.
-
Called when the Hybrid webapp for offline managment is to be displayed. Handlers of this delegate need to create and display a
PredixAppWindowProtocol
compatable class. parameter packageWindow: The PredixAppWindowProtocol class provided to thePredixMobilityManager
. It’s intended this class may be useful in displaying the returnedPredixAppWindowProtocol
compatable class. returns: APredixAppWindowProtocol
compatable class for displaying the hybrid offline webapp. This class should not be the same instance as the provided packageManager parameter class.Declaration
Swift
func presentAuthentication(packageWindow: PredixAppWindowProtocol) -> PredixAppWindowProtocol
-
Called when the Hybrid webapp for offline managment is to be dismissed. parameter authenticationWindow: The
PredixAppWindowProtocol
returned frompresentAuthentication(packageWindow:)
Declaration
Swift
func dismissAuthentication(authenticationWindow: PredixAppWindowProtocol)