Interface EmailTokenVerifier

    • Method Detail

      • encode

        String encode​(Account.Id accountId,
                      String emailAddress)
        Construct a token to verify an email address for a user.
        Parameters:
        accountId - the caller that wants to add an email to their account.
        emailAddress - the address to add.
        Returns:
        an unforgeable string to email to emailAddress. Presenting the string provides proof the user has the ability to read messages sent to that address. Must not be null.