Implement basic OAuth functionality