Search Results for

    Show / Hide Table of Contents

    Method SendConnectionVerificationCode

    SendConnectionVerificationCode(String, String)

    Send connection verification code to logged in user

    Declaration
    void SendConnectionVerificationCode(string connectionId, string twoWayAuthenticationType)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String twoWayAuthenticationType

    The two way authentication type TwoWayAuthenticationTypeEnum

    Examples

    POST https://YourServerName/InfoShare/Json/Authentication/SendConnectionVerificationCode

    Example for a sending the verification code to the user

    {
       "connectionId": "6bc655a4-c079-4535-a733-f259e3232a3a",
       "twoWayAuthenticationType": "Mail"
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Could not create verification code (10144)

    ServiceException

    No {server/ sender name/ sender address} defined in the SMTP settings (10145)

    ServiceException

    No recipient mail address defined for user {loginName} (10146)

    ServiceException

    Could not send verification code email (10147)

    ServiceException

    Two way authentication type ({twoWayAuthenticationType}) is invalid. Valid types are: {allowedTwoWayAuthenticationTypes} (10148)

    ServiceException

    Two way authentication for type ({twoWayAuthenticationType}) is not implemented yet (10149)

    ServiceException

    Could not parse string {twoWayAuthenticationType} to a valid two way authentication type (10153)

    Back to top Copyright © Kendox