social / pragma.account / AccountService / verifyEmailV1 /

verifyEmailV1 #

suspend fun verifyEmailV1(serviceSession: ServiceSession, request: AccountRpc.VerifyEmailV1Request): AccountRpc.VerifyEmailV1Response

Verifies an email token and updates the users verified email. If the user had a preexisting, verified email, the old verified email will be deleted in favor the email in the email token.

PragmaApplicationErrors

  • AccountRpc.PragmaSocialIdNotFoundApplicationError when a personal identity can’t be found for the given social id
  • AccountRpc.NotFoundApplicationError when the email address cannot be found in the database associated with the given user.