Update MFA Setting
End-Point
This API is used to trigger the Multi-factor authentication settings after login for secure actions.
- Definition
- Try It Out
- Code
Get Params
apikey :
LoginRadius API Key [REQUIRED]
Headers Parameters
Authorization :
Bearer <ACCESS_TOKEN> (User's access token) [REQUIRED]
Post Params
OTP :
One Time Password [REQUIRED]
securityanswer :
Valid JSON object of Unique Security Question ID and Answer of set Security Question. It is only required for locked accounts when logging in. Details about this feature here
g-recaptcha-response :
It is required for locked accounts when logging in. You need to pass a valid recaptcha value ito the API for login if the account gets locked after continous n number of unsuccessful login attempts( Number of login attempts can be set through user account). Details about this feature here
qq_captcha_ticket :
If CAPTCHA lockout is enabled with QQ, and the user is locked, you must provide the QQ Captcha ticket.
qq_captcha_randstr :
If CAPTCHA lockout is enabled with QQ, and the user is locked, pass the value of the user's random string retrieved from the QQ captcha.
Output Format
{ "IsPasswordBreached": false, "Password": "Rfc2898Der********$1000****WzgJ*********CdcH3Nw==$p3qswNbUt***********T5Mfc2CgDPf*******id7a0=", "LastPasswordChangeDate": "2017-08-24T13:04:12.1810017Z", "PasswordExpirationDate": "2018-11-12T12:15:05.762Z", "LastPasswordChangeToken": null, "EmailVerified": false, "IsActive": true, "IsDeleted": false, "Uid": "76c9******2****db******9745****b", "CustomFields": null, "IsEmailSubscribed": false, "UserName": null, "NoOfLogins": 2, "PreviousUids": null, "PhoneId": "+12964797076", "PhoneIdVerified": true, "ExternalUserLoginId": null, "RegistrationProvider": "Email", "IsLoginLocked": false, "LoginLockedType": "None", "LastLoginLocation": "India", "RegistrationSource": "API", "ID": "116*******a84******45c0****ba**6", "Provider": "Email", "Prefix": null, "FirstName": "Smith", "MiddleName": null, "LastName": "Jhon", "Suffix": null, "FullName": "Smith Jhon", "NickName": null, "ProfileName": null, "BirthDate": null, "Gender": "male", "Website": null, "Email": null, "Country": "India", "State": "Rajasthan", "City": "Jaipur", "Industry": null, "About": null, "TimeZone": null, "LocalLanguage": "English", "Educations": null, "PhoneNumbers": 1234567890, "CreatedDate": "2018-06-12T12:15:05.575Z", "ModifiedDate": "2018-06-14T05:49:45.028Z", "ProfileModifiedDate": "2018-06-14T05:49:45.028Z", "LocalCity": null, "ProfileCity": null, "LocalCountry": null, "ProfileCountry": null, "FirstLogin": false, "IsProtected": false, "RelationshipStatus": null, "Quota": null, "Quote": null, "Courses": null, "Volunteer": null, "RecommendationsReceived": null, "Languages": null, "Projects": null, "Games": null, "Family": null, "TeleVisionShow": null, "MutualFriends": null, "Movies": null, "Books": null, "AgeRange": null, "PublicRepository": null, "ProfessionalHeadline": null, "ProviderAccessCredential": null, "RelatedProfileViews": null, "KloutScore": null, "LRUserID": null, "PlacesLived": null, "Publications": null, "JobBookmarks": null, "Suggestions": null, "PinsCount": 0, "BoardsCount": 0, "LikesCount": 0, "SignupDate": "2018-06-12T12:15:05.575Z", "LastLoginDate": "2018-06-13T06:07:27.164Z", "Identities": null }