Can you get the contact id /user id from a token?

im trying to update a custom field in contact details when a user clicks on an email verification link.

is there a way to get the contact id from this ?

my plan is to manually approve the new users, but i will only do it once the email has been verified.

.

.