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.

PragmaResultErrors

  • PragmaError.AccountService_Error when db is unable to verify the email.