Updated TokenType to use the OptionsResolverInterface