Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WCF parameterdata typedescription
authServerPartnerLoginNamestringSurePassId SurePassID account login name
authServerPartnerLoginPasswordstringSurePassId SurePassID account login key
pwstringUser account password
ridstringSystem generated value, contained in reset password url
midstringSystem generated value, contained in reset password url
fromEmailNamestringName for sender of password recovery email
fromEmailAddressstringEmail address for sender of password recovery email
emailSubjectstringSubject of password recovery email
emailBodystringBody of password recovery email
htmlbooleanBoolean indicating if email is HTML formatted

...

Code Block
languagec#
titleSample WCF C# Method
AuthServerResponseresp = ActiveDevicePasswordRecoveryChangePassword("accountLogin",
            "accountKey",
			"tinyD4nc3r",
	        "{rid}",
			"{mid}",
            "Mandy",
            "mandy@example.com",
            "Recover Password", 
			"Let us help you recover your password.",
            false);

...

REST parameterdata typedescription
spAccountLoginNamestringSurePassId SurePassID account login name
spAccountLoginKeystringSurePassId SurePassID account login key
usernamestringuser account login name
typestringactivepassword_recovery_oathchange_devicepassword
pwstringUser account password
ridstringrid
midstringmid
fromEmailNamestringName of sender of password recovery email
fromEmailAddressstringAddress of sender of password recovery email
emailSubjectstringSubject of password recovery email
emailBodystring

Body of password recovery email

htmlbooleanWhether password recovery email is HTML formatted

...

Code Block
languagejs
titleSample REST/Json MethodRequest
{
 "username": "{{username}}",
 "spAccountLoginName": "{{spAccountLoginName}}",
 "spAccountLoginKey": "{{spAccountLoginKey}}",
 "type": "password_recovery_change_password",
 "pw": "tinyD4nc3r",
 "rid": "?",
 "mid": "?",
 "fromEmailName": "John Denver",
 "fromEmailAddress": "john.denver@example.com",
 "emailSubject": "Resetting your password",
 "emailBody": "Let us help you reset your password.",
 "html": 1
}

...