Base classes for oauth bundle