add code format
add api doc
fix failed cases
Merge pull request #17 from liangji101/oauth

Oauth add api doc