SSOConfirmationUIProtocol

public protocol SSOConfirmationUIProtocol

SSO Confirmation UI Protocol.

  • Prompts the user to confirm SSO login request.

    Remark

    The UI should take care of dismissing itself upon user’s response and after completion is called.

    Declaration

    Swift

    static func promptUserToConfirmSSO(title: String?, message: String?, completion: @escaping (_ action: SSOConfirmationAction) -> Void)
    Parameters
    title

    Optional title to display describing the context of the SSO request.

    message

    Optional message to display describing the context of the SSO request.

    completion

    Completion block to be called when the user responds. The response should be one of the values in the SSOConfirmationAction enum