FioriASWebAuthenticationSessionPresenter

open class FioriASWebAuthenticationSessionPresenter : ASWebAuthenticationSessionPresenting, FlowPresentationDelegateClient

The default implementation for the ASWebAuthenticationSessionPresenting. Presents a ASWebAuthenticationSession on demand, can be configured to show an info screen before the presentation.

  • ASWebAuthenticationSession callbackURLScheme

    Declaration

    Swift

    open var callbackURLScheme: String?
  • Before the web view is presented, this handler is called for customization. Configure the session parameters according to your need. By default it does nothing.

    Declaration

    Swift

    public var aswebAuthenticationSessionConfigurationHandler: ((ASWebAuthenticationSession) -> Void)?
  • Instantiates the web view presenter. By default it has an info screen which is presented during restore flow and application running.

    Declaration

    Swift

    public init(delegate: WebViewPresenterDelegate? = nil)

    Parameters

    delegate

    The web view presenter delegate to handle presenter events.

  • The presenter delegate, which handles the webview presenter UIViewController

    Declaration

    Swift

    open weak var delegate: WebViewPresenterDelegate?
  • Presents the web view and passes the instance in the completion handler.

    Declaration

    Swift

    open func presentWebView(with url: URL, sessionCompletionHandler: @escaping ASWebAuthenticationSession.CompletionHandler, completionHandler: @escaping (ASWebAuthenticationSession?, Error?) -> Void)
  • Reloads the web view

    Declaration

    Swift

    open func reloadWebView()
  • Dismisses the presented web view.

    Declaration

    Swift

    open func dismissWebView()
  • Undocumented

    Declaration

    Swift

    open func showNotificationBanner()