social-common / pragma.account / EmailSenderPlugin / sendVerificationEmail /

sendVerificationEmail #

@ExperimentalCoroutinesApi

abstract suspend fun sendVerificationEmail(recipient: String, verificationEmailEndpoint: String, uniqueCode: String): EmailMessageSent

Sends a verification email address email.

Used by

  • AccountService.updateEmailV1

Parameters #

recipient

email address the verification email is sent to.

verificationEmailEndpoint

a link provided to the plugin that redirects users to the Pragma Email verification endpoint. This can be used as part of the email template or be ignored.

uniqueCode

Email JWT used by the verification email endpoint. See AccountRpc.VerifyEmailV1Request.