IProviderCallback

public protocol IProviderCallback

Interface for callbacks to handle [AuthClient] creation. Called in [AuthProvider.provide] after the user has created [AuthClient] object

  • Invoked after successful [AuthClient] creation.

    Declaration

    Swift

    func onSuccess(authClient: AuthClient)
  • Invoked after completion with error of the [AuthClient] creation.

    Declaration

    Swift

    func onError(error: NSError)