AuthenticationHandlerUIDelegate

public protocol AuthenticationHandlerUIDelegate : class

Delegate protocol for UI interactions with Authentication handlers.

Some authentication handlers may interact with the UI. These delegate methods will be called when those handlers are about to interact with the UI, or have finished with the UI.

  • presentAuthenticationUI(for:) Default implementation

    Implementation optional

    Will be called during the authentication process when the Authentication UI needs to be displayed.

    Default Implementation

    If no implementation is provided, there is no behavior.

    Declaration

    Swift

    func presentAuthenticationUI(for authenticationHandler: AuthenticationHandler )

    Parameters

    authenticationHandler

    the AuthenticationHandler associated with this delegate

  • dismissAuthenticationUI(for:) Default implementation

    Implementation optional

    Will be called during the authentication process when the Authentication UI is no longer needed, and can be dismissed.

    Will be called after authenticationCompleted.

    Default Implementation

    If no implementation is provided, there is no behavior.

    Declaration

    Swift

    func dismissAuthenticationUI(for authenticationHandler: AuthenticationHandler)

    Parameters

    authenticationHandler

    the AuthenticationHandler associated with this delegate