DefaultSudoEmailClient

public class DefaultSudoEmailClient : SudoEmailClient

Default Client API Endpoint for interacting with the Email Service.

Lifecycle

  • Initialize an instance of DefaultSudoEmailClient. It uses configuration parameters defined in sudoplatformconfig.json file located in the app bundle.

    Declaration

    Swift

    public convenience init(keyNamespace: String = SudoEmail.Constants.defaultKeyNamespace, userClient: SudoUserClient) throws

    Parameters

    keyNamespace

    Namespace to use for the keys and passwords. This should be left as the default property.

    userClient

    SudoUserClient instance used for authentication. Throws:

  • Declaration

    Swift

    public func reset() throws

SudoEmailClient