AuthenticationResource
Authentication resource
The following resources are applicable:
/token
Mount Point: /../../../api/v1/token
POST
Returns a bearer token based on your application credentials (provided via basic auth) and username/password or refresh token.
STATUS CODES :
200 - The token is returned
403 - Your application was not authentified
401 - The user is not authorized
Parameters
name | description | type | default |
---|---|---|---|
grant_type | password or refresh_token | form | |
username | used to authenticate the user when grant_type is password | form | |
password | used to authenticate the user when grant_type is password | form | |
refresh_token | used to authenticate the user when grant_type is refresh_token | form |
Response Body
element: | OAuth |
media types: | application/xml application/json |
a bearer token