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
PredixAppWindowProtocolcompatable class. parameter packageWindow: The PredixAppWindowProtocol class provided to thePredixMobilityManager. It’s intended this class may be useful in displaying the returnedPredixAppWindowProtocolcompatable class. returns: APredixAppWindowProtocolcompatable 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
PredixAppWindowProtocolreturned frompresentAuthentication(packageWindow:)Declaration
Swift
func dismissAuthentication(authenticationWindow: PredixAppWindowProtocol)
View on GitHub
HybridOfflineAuthenticationHandlerDelegate Protocol Reference