OAuth 2 -В чем разница между «потоком имени пользователя и пароля» и «потоком учетных данных клиента»

В обоих случаях учетные данные пользователей обмениваются на токен доступа. Может кто-нибудь объяснить разницу?

Вот описание потоков изhttp://hueniverse.com

• 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.

6
задан schmoopy 6 August 2012 в 17:16
поделиться