互联网用户授权协议OAuth

来源:互联网 发布:软考程序员考什么 编辑:程序博客网 时间:2024/06/06 17:33

设备流程(device flow)

device client                                   authorization server                                 user(pc,laptop,tablet)

           ------------------------------------->

                       请求访问(device client)   

         <--------------------------------------

                         verification code       

                                                           ---------------------------------------------------->

                                                                                            请求访问(通过 verification URI)


                                                              <------------------------------------------------->

                                                                                             授权(提示用户:device client要访问)

          ----------------------------------------->

                            poll(verification code, device client)

          <-----------------------------------------

                          Deny/Permit (access token)                                                                          


特点:device client的密码不是必要的。

可能与CoAP协议一道,作为IoT的资源访问协议



0 0