Maybe generate_signed_token?