OAuth2 plugin
|
This REST URI path provides actions and information about OAuth2 clients
client_id:
(string) unique identifier of the clientusername:
(string) user associated with the clientcreated:
(date) date of record creationmodified:
(date) date of record last modificationclient_id:
(string) unique identifier of the clientclient_secret:
(string) secret associated with the clientusername:
(string) user associated with the clientpermissions:
(list) list of permissionsinserted:
(hash) hash with informataion about inserted clientclient_id:
(string) unique identifier of the clientusername:
(string) user associated with the clientcreated:
(date) date of record creationmodified:
(date) date of record las modification409 Conflict
: OAUTH2-EXCEPTION
: this exception is thrown when any error occurs while inserting the data. More error description is part of the response.This REST URI path provides actions and information for system functionality
rows_deleted:
(int) number of rows deleted404 Not found
: "404 Not Found: class \"oauth2\clients\" has no subclass <client_id>"
client_id:
(string) unique identifier of the clientusername:
(string) user associated with the clientcreated:
(date) date of record creationmodified:
(date) date of record last modificationpermissions:
(list of strings) client's permissions404 Not found
: "404 Not Found: class \"oauth2\clients\" has no subclass <client_id>"
client_id:
(string) unique identifier of the clientclient_secret:
(string) secret associated with the clientusername:
(string) user associated with the clientpermissions:
(list) list of permissionsinserted:
json describing inserted data404 Not found
: "404 Not Found: class \"oauth2\clients\" has no subclass <client_id>"
This REST URI path provides OAuth2 authorization code
type
: token/code to be generated (authorization code od access token)client_id
: identification of client for which the token/code is generatedcode:
(string) token/code valuetype:
(string) type of retuned code (code = 'authorization code', token = 'access token')This URI provides methdod for obtaining access token.
response_type
redirect_uri
code
client_id
scope
state
username
password
refresh_token
access_token
token_type
expires_in
state
More info Get access token
This URI provides methdod for obtaining access token.
grant_type
redirect_uri
code
client_id
scope
state
username
password
refresh_token
access_token
token_type
expires_in
state
More info Get access token