'Create an oauth client application that is confidential.'

def create_confidential_client(self, name, user, redirect_uri, client_id=None):

    return models.Client.objects.create(name=name, user=user, client_id=client_id, redirect_uri=redirect_uri, client_type=constants.CONFIDENTIAL)
