4
在這兩種情況下,用戶憑證正在交換訪問令牌。有人可以解釋這種差異嗎?OAuth 2 - '用戶名和密碼流'與'客戶端憑證流'之間的區別是什麼
• User-Agent Flow – for clients running inside a user-agent (typically a web browser).
• Web Server Flow – for clients that are part of a web server application, accessible via HTTP requests. This is a simpler version of the flow provided by OAuth 1.0.
• Device Flow – suitable for clients executing on limited devices, but where the end-user has separate access to a browser on another computer or device.
• Username and Password Flow – used in cases where the user trusts the client to handle its credentials but it is still undesirable for the client to store the user’s username and password. This flow is only suitable when there is a high degree of trust between the user and the client.
• Client Credentials Flow – the client uses its credentials to obtain an access token. This flow supports what is known as the 2-legged scenario.
• Assertion Flow – the client presents an assertion such as a SAML assertion to the authorization server in exchange for an access token.
啊謝謝你 - 比規範中提供的內容更有意義 - 我認爲所選擇的術語令人困惑,因爲定義隨上下文而變化 – schmoopy 2012-08-06 21:47:25