oauth 资源所有者密码凭证授予


本文向大家介绍oauth 资源所有者密码凭证授予,包括了oauth 资源所有者密码凭证授予的使用技巧和注意事项,需要的朋友参考一下

示例

POST /token HTTP/1.1
Host: server.example.com
Content-Type: application/x-www-form-urlencoded

grant_type=password&username=[USERNAME]&password=[PASSWORD]
    &client_id=[APP_KEY]&client_secret=[APP_SECRET]

资源