Authentication
By password
StateResponse.auth_methods must contain EMAIL_PASSWORD_AUTH_METHOD
- send
EmailPasswordAuthResponsewithemailandpasswordfields
By one-time code
StateResponse.auth_methods must contain EMAIL_CODE_AUTH_METHOD
- send
EmailCodeAuthRequestwithemailfield - server will send email with code to
emailaddress - send
EmailCodeAuthConfirmRequestwithemailandcodefields