Defined in File auth_models.hpp
Convert string to TokenType.
std::invalid_argument – if string is not a valid token type