Basic OAuth methods for iOS