allows for injection of tokenType into the server object