Applications must ask the permission to access, modify or delete data.
Applications can request permissions on the following items:
read : grants read-only access to user's items, even private.write : permits the modification of the user's items (and also grants read permission).delete : permits the deletion of the user's items (and also grants write and read permission).Permissions your application must request depend on the API methods you intend to use (this is indicated for each method). Users will decide whether or not to grant permissions to your application. Don't request permissions that aren't used or don't make sense.
A permission is requested on an authorization web page http://www.ipernity.com/apps/authorize.
A connection URL is built like this:
http://www.ipernity.com/apps/authorize?api_key=[api_key]&perm_X=[perm] &api_sig=[api_sig]
[api_key] : your API key.[api_sig] : this request signature built using your secret.[perm_doc] : the requested permission for documents (read/write/delete).[perm_blog] : the requested permission for blog articles (read/write/delete).[perm_network] : the requested permission for the network (read/write/delete).[perm_profile] : the requested permission for the member profile (read/write).For example, here is an authorization link that requests permission to modify documents:
http://www.ipernity.com/apps/authorize?api_key=6fa87ba500002712bd4eed 6020f3bd72&perm_doc=write&api_sig=46baf59c7e766e1a632e1769849d839c
Redirect the user to the page above to obtain the requested permissions.
In the case of an authentication request for a desktop application, a frob parameter will have to be added.
http://www.ipernity.com/apps/authorize?api_key=[api_key]&perm_X=[perm] &frob=[frob]&api_sig=[api_sig]
This page presents the user with the following information:
Once the application is authorized, it will be added to the list of authorized applications in the user's account preferences.
auth.getToken and auth.checkToken methods let you retrieve and check the permissions granted to your application by a member.
Your application can request new permissions at any time by providing the user with a new connection link.