updated api provider interface to use requestinterface type hint
updated oauth validator to use request type instead of strings