Skip to content

Latest commit

 

History

History
215 lines (158 loc) · 7.01 KB

RMC-Ubi-Account-Management-Protocol.md

File metadata and controls

215 lines (158 loc) · 7.01 KB

OSDK account management service likely implemented by Ubisoft after taking over Quazal Technologies.

Method ID Method Name
1 CreateAccount
2 UpdateAccount
3 GetAccount
4 LinkAccount
5 GetTOS
6 ValidateUsername
7 ValidatePassword
8 ValidateEmail
9 GetCountryList
10 ForgetPassword

(1) CreateAccount

Request

Type Name
UbiAccount ubiAccount

Response

Type Name
UbiAccount ubiAccount
List<ValidationFailureReason> failedReasons

(2) UpdateAccount

Request

Type Name
UbiAccount ubiAccount

Response

Type Name
UbiAccount ubiAccount
List<ValidationFailureReason> failedReasons

(3) GetAccount

Request

This method does not take any parameters.

Response

Type Name
UbiAccount ubiAccount
Bool exists

(4) LinkAccount

Request

Type Name
String ubiAccountUsername
String ubiAccountPassword

Response

Type Name
String ubiAccountUsername

(5) GetTOS

Request

Type Name
String countryCode
String languageCode
Bool htmlVersion

Response

Type Name
TOS tos

(6) ValidateUsername

Request

Type Name
String username

Response

Type Name
UsernameValidation usernameValidation

(7) ValidatePassword

Request

Type Name
String password
String username

Response

Type Name
List<ValidationFailureReason> failedReasons

(8) ValidateEmail

Request

Type Name
String email

Response

Type Name
List<ValidationFailureReason> failedReasons

(9) GetCountryList

Request

Type Name
String languageCode

Response

Type Name
List<Country> countries

(10) ForgetPassword

Request

Type Name
String usernameOrEmail

Response

This method does not return anything.

Types

Country (Structure)

Type Name
String m_code
String m_name

ExternalAccount (Structure)

Type Name
Uint32 m_accountType
String m_id
String m_username

UbiAccountStatus (Structure)

Type Name
Uint32 m_basicStatus
Bool m_missingRequiredInformations
Bool m_recoveringPassword
Bool m_pendingDeactivation

UbiAccount (Structure)

Type Name
String m_ubiAccountId
String m_username
String m_password
UbiAccountStatus m_status
String m_email
DateTime m_dateOfBirth
Uint32 m_gender
String m_countryCode
Bool m_optIn
Bool m_thirdPartyOptIn
String m_firstName
String m_lastName
String m_preferredLanguage
List<ExternalAccount> m_externalAccounts

TOS (Structure)

Type Name
String m_localeCode
String m_content
String m_storingInfoQuestion

ValidationFailureReason (Structure)

Type Name
Uint32 m_validationId
String m_description

UsernameValidation (Structure)

Type Name
List<String> m_suggestions
List<ValidationFailureReason> m_reasons