Difference between revisions of "Client flow description"

From i2Rest
Jump to: navigation, search
Line 1: Line 1:
 
{{DISPLAYTITLE:Client Flow description}}
 
{{DISPLAYTITLE:Client Flow description}}
i2Rest client perfoms Oauth 2.0 Client credential flow when <code>*OAUTH2C</code> [[i2Rest-client command#AUTHMETHOD | Authentication method]] is chosen.
+
An application can request an access token using only its own credentials, the flow is pretty simple.
The client can request an access token using only its client credentials, the flow is pretty simple.
 
 
[[File:Client-flow-scheme.png]]
 
[[File:Client-flow-scheme.png]]
  
  
 
The flow consists of the following steps:
 
The flow consists of the following steps:
(A) The client authenticates with the authorization server and
+
(A) The client authenticates with the authorization server and requests an access token from the token endpoint.
        requests an access token from the token endpoint.
 
  
(B) The authorization server authenticates the client, and if valid,
+
(B) The authorization server authenticates the client, and if valid, issues an access token.
        issues an access token.
 
  
  
So, the next fields are  
+
So, the next parameters are required
  
 +
! Parameter!! Description
 +
 +
|*OAUTH2C [[i2Rest-client command#AUTHMETHOD | Authentication method]]| *OAUTH2C  has to be chosen
  
  
 
----
 
----
 
[[I2Rest_Client|Back to i2Rest Client]]
 
[[I2Rest_Client|Back to i2Rest Client]]
 +
i2Rest client perfoms Oauth 2.0 Client credential flow when <code>*OAUTH2C</code> [[i2Rest-client command#AUTHMETHOD | Authentication method]] is chosen.

Revision as of 11:45, 10 April 2020

An application can request an access token using only its own credentials, the flow is pretty simple. Client-flow-scheme.png


The flow consists of the following steps: (A) The client authenticates with the authorization server and requests an access token from the token endpoint.

(B) The authorization server authenticates the client, and if valid, issues an access token.


So, the next parameters are required

! Parameter!! Description

|*OAUTH2C Authentication method| *OAUTH2C has to be chosen



Back to i2Rest Client i2Rest client perfoms Oauth 2.0 Client credential flow when *OAUTH2C Authentication method is chosen.