Retruns the OAuth token
Removes the token
Sets the Token
Changes password for a given user
Contains { oldPassword: string password: string passwordConfirmation: string brandingId?: number }
Deletes an account
Contains { password: string, brandingId?: number, }
Exports account data to the users' email
Contains { password: string, brandingId?: number, }
Gets the account information for a given auth token
Gets register fields
The merchant UUID
Gets the social login urls for fb/twitter/google
Social login state. The state needs to be json and base64 encoded to be sent as a query parameter. Example: btoa(JSON.stringify({uuid: 'foo', redirect: 'http://example.com'}))
Return restriction settings per Merchant
The merchant UUID
Contains the data - { "age_verification_type": "pin_code", "age_verification_enabled": true, "merchant_uuid": "3b39b5ab-b5fc-4ba3-b770-73155d20e61f", "created_at": 1532425425, "updated_at": 1532425425 }
Refreshes the token
The merchant's clientId
Reports the generated SSO token to the SSO domain.
The SSO domain.
The token string.
Should the token be deactivated or activated.
Requests new password for a given user
Contains { email: string, merchantUuid: string brandingId?: number }
Creates pin code and sends it to the users' email
Optional parametar
Sets new password for the user
Contains { password: string passwordConfirmation: string brandingId?: number }
The reset token
Signs in the user
Contains { email: string, password: string, clientId: string, clientSecret: string, referrer: string, refreshToken: string, }
Signs out the user and destroys cookies
Signs up/Registers user
Contains {
fullName: string,
email: string
password: string,
passwordConfirmation: string,
clientId: string,
type: string,
referrer: string,
brandingId?: number,
metadata?: { [key: string]: string }
dateOfBirth?: string,
}
Updates the account info. Metadata fields must be from the Inplayer.getRegisterFields()
The new data for the account
Checks validity of pin code
Code from received email message
Generated using TypeDoc
Contains all Requests regarding user/account and authentication