Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

ModIO.APIClient.SendSecurityCode

Jackson Wood edited this page Mar 6, 2019 · 8 revisions

APIClient.SendSecurityCode

public static void SendSecurityCode(string emailAddress, Action<APIMessage> successCallback, Action<WebRequestError> errorCallback);

Parameters

Name Description
emailAddress Email address for a new or existing account
successCallback Action to execute if the request succeeds
errorCallback Action to execute if the request returns an error

Description

Requests a login code be sent to an email address.

This request is the first step of authenticating a user account for the game/app, requesting that the mod.io servers send a security code to the provided email address as a means of authenticating the user account.

See Authentication and Security for more information.

See also: docs.mod.io page, ModIO.APIClient.GetOAuthToken, ModIO.UserAuthenticationData

Clone this wiki locally