Get desktop application:
View/edit binary Protocol Buffers messages
Authentication is the 'public' facing service that clients use to authenticate a user and provide session tokens.
Authenticate authenticates the user using an ID and secret pair. A session token is provided on success that authorizes a user to perform authenticated requests, which should be provided as a header. Clients wishing to get new sessions MUST go through this API call.
Clients should use this session token in a header to authenticate subsequent requests Set iff Result == OK
Set iff Result == OK
TODO: THIS IS NOT MEANT FOR RELEASE JUST FOR MILESTONE ONE
Logout terminates the user's session by invalidating their session token. This request must be authenticated using the user's current session token.
(message has no fields)
Service for handling methods called when attempting to register (i.e. create an account) NOTE: All methods are rate limited NOTE: Providing an Authentication token with any method in this service will be considered an error.
Validates that the provided username and/or email address can be used for Registration
email to check uniqueness of. Note: email technically may not be larger than 254 unicode chars for legacy pairity
username to check uniqueness of.
Indicates success or failure of the request overall. NOTE: Other members of this response are valid iff Result == OK
Indicate which elements of the associated request are NOT valid for use in registration.
Register a new account. Response may indicate that a verification procedure must be done. If this is the case, some other system must be engaged with values/tokens provided in the RegisterResponse. Once a verification token is acquired from these other systems, the Register request must be re-issued with those verification tokens. TODO: Definition of verification procedures are still outsdanding
Declared birthday of user performing the account registration. After translating to a gregorian date, the value of any fields other than Year/Month/Day are ignored.
The username-derived passkey as described in https://github.com/kikinteractive/kik-product/wiki/Passkeys
The email-derived passkey as described in https://github.com/kikinteractive/kik-product/wiki/Passkeys
Indication of which elements of the request which have failed server validations.
Indication of which elements of the request have violated server policies (eg: potentially have bad language, etc)
The set of credentials when a user logs in user their email address
Used in:
The email-derived passkey as described in https://github.com/kikinteractive/kik-product/wiki/Passkeys
The set of credentials when a user logs in using their username
Used in:
The username-derived passkey as described in https://github.com/kikinteractive/kik-product/wiki/Passkeys
Used in:
Used in:
Used in:
Note: FULL_NAME indicates the violation was found when checking both names together sparated by a single space.
Note: BIRTHDAY should only be considered a validation issue if it is somehow *missing*. *DO NOT* use this to indicate that the user submission is UNDERAGE. In such cases we instead return an ERROR_NOT_ACCEPTABLE Result code.
Used in:
Success - account has been created with provided details.
Some form of additional verification has been requested. (such as a captcha challenge) Details of the verification (will be) available in this response, and the request is expected to be re-submitted with challenge response, or whatever details are needed for the verification flow. TODO: Verification request details are to be included in this response.
Verification details in request were not acceptable. This indicates that the verification challenge response was invalid or not accepted. New verification details (will be) available in this response so that the user may answer the verification challenge and re-submit the request with new answers to the new verification details.
General failure code; intentionally no explanatory details provided. eg: Rate limit applied to requesting IP eg: Attempted to register QA or system-test user pattern, but not authorized to do so. eg: Birthday field indicates user has not met age requirements.
Validation of provided details has failed, and/or policy checking indicates a violation. - see 'invalid_elements' in this response for which request fields had validation problems. - see 'policy_violation_elements' in this response for which request fields had policy violations.
Username or email address already has an associated account. see invalid_elements for which field(s) (email/username) are already in use.
Used in:
Used in:
All provided request elements have been verified as unique
One or more provided request elements have been determined to be NOT acceptable for registration. Problematic request elements are indicated in invalid_elements response field.
No input values were provided.