WebexUCLoginDelegate

public protocol WebexUCLoginDelegate : AnyObject

A delegate for all the Call service login related event callbacks.

Since

3.0.0
  • This will notify app when SSO authentication of CUCM domain/server is required, this gives SSO URL to launch the WebView to start authentication process This is applicable for [Phone.CallingType.CUCM] only

    Since

    3.0.0

    Declaration

    Swift

    func loadUCSSOView(to url: String)

    Parameters

    url

    Authentication url for SSO domain/server

  • This will notify app when non SSO authentication of CUCM is required to pass in username and password

    Since

    3.0.0

    Declaration

    Swift

    func showUCNonSSOLoginView()
  • This will notify app when SSO authentication failed, to retry SSO use webex.retryUCSSOLogin() API

    Since

    3.6.0

    Declaration

    Swift

    func onUCSSOLoginFailed(failureReason: UCSSOFailureReason)
  • This will notify when user is successfully logged in on Calling service

    Since

    3.0.0

    Declaration

    Swift

    func onUCLoggedIn()
  • This will notify app whenever when server url/domain, username and password is required for authentication. On this application needs to display the option to enter required details..

    Since

    3.8.0

    Declaration

    Swift

    func onUCLoginFailed(failureReason: UCLoginFailureReason)

    Parameters

    failureReason

    Reason for the login failure

  • This will notify app whenever with Calling service connection state changes.

    Since

    3.0.0

    Declaration

    Swift

    func onUCServerConnectionStateChanged(status: UCLoginServerConnectionStatus, failureReason: PhoneServiceRegistrationFailureReason)

    Parameters

    status

    It will have the current connection status of Calling service. The status will be the enum value - [UCLoginServerConnectionStatus]

    failureReason

    It will have the phone registration failed reason. The status will be the enum value - [PhoneServiceRegistrationFailureReason]