sample implementation of different auth types

type defined using a config file and corresponding import. auth only required for POST and DELETE.