FailableAuthenticationHandlerDelegate

public protocol FailableAuthenticationHandlerDelegate : class

Authentication handlers that rely on external components that may fail, such as network requests, will support this delegate to pass information about those failures to the user.

  • Implementation Optional

    Will be called if the authentication handler encounters an error during the authentication process.

    Default Implementation

    If no implementation is provided, there is no behavior.

    Declaration

    Swift

    func authenticationHandler(_ authenticationHandler: AuthenticationHandler, didFailWithError error: Error)

    Parameters

    authenticationHandler

    the AuthenticationHandler associated with this delegate

    error

    An Error describing the error condition