Refactored oauth specs
Refactored model oauth specs