Authorization code grant 和 Implicit grant 有什么区别?

来源:互联网 发布:firefox linux 安装 编辑:程序博客网 时间:2024/05/21 05:06
  • The authorization code grant type is used to obtain both accesstokens and refresh tokens and is optimized for confidential clients.Since this is a redirection-based flow, the client must be capable ofinteracting with the resource owner’s user-agent (typically a webbrowser) and capable of receiving incoming requests (via redirection)from the authorization server.
  • The implicit grant type is used to obtain access tokens (it does notsupport the issuance of refresh tokens) and is optimized for publicclients known to operate a particular redirection URI. These clientsare typically implemented in a browser using a scripting languagesuch as JavaScript.
0 0
原创粉丝点击