Skip to content

(Core API) keychain get

erictj edited this page Jul 6, 2011 · 1 revision

Gets an object from the keychain if the serviceID has permission to do so.

Method

GET

Arguments

  • serviceID: The service that is requesting the object
  • serviceType: The service type of the object that is being requested (i.e. google, facebook, twitter)
  • index: The index of the specific object for the service type

Arguments Example

/keychain/permission?serviceID=9fdfb7e5c6551dc45300aeb0d21fdff4&serviceType=google&index=1

Request the object of type "google" at index 1 from service with ID 9fdfb7e5c6551dc45300aeb0d21fdff4

Result

  • 200: The request was well formed and the object were returned.
  • 401: Permission denied - the passed service ID does not have permission to access the object.
Clone this wiki locally