Authorization
Jive allows for any user to grant authorization to a client installed through an addon. AuthorizationEntity contains details of such authorization. Retrieving other authorizations given, for example, using Connects API is not supported. It will not be possible to grant (create) authorization using this API, only query (GET) & removal (DELETE) are supported.
Examples:
JSON representation
{ "id" : "1108", "name" : "Jive for iOS", "agent" : "", "type" : "oauth", "created" : "2013-12-10T23:16:49.793+0000", "expires" : "2028-12-14T23:16:49.791+0000", "appNames" : [ "Jive" ] }
Get all oauth authorizations given by a person.
Perform a GET request to/admin/people/{person_id}/authorizations/oauth
.
curl -u admin:admin "http://example.jiveon.com/api/core/v3/admin/people/1234/authorizations/oauth"
GET a single authorization
curl -u admin:admin "http://example.jiveon.com/api/core/v3/admin/people/authorizations/oauth/1108"
DELETE a single authorization
curl -X DELETE -u admin:admin "http://example.jiveon.com/api/core/v3/admin/people/authorizations/oauth/1108"
Fields
Field | Type | Mode † | Description |
---|---|---|---|
agent | String | read-only | |
appNames | String[] | read-only | |
created | ISO 8601 Date | read-only | |
expires | ISO 8601 Date | read-only | |
id | String | read-only | Identifier (unique within an object type and Jive instance) of this object. |
name | String | read-only | |
resources | Object | read-only | Resource links (and related permissions for the requesting person) relevant to this object. |
type | String | read-only |