Class for basic using oauth