Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: OAuth Plugin  (Read 5045 times)

0 Members and 1 Guest are viewing this topic.

ISANexusDev

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 31
OAuth Plugin
« on: July 12, 2013, 04:24:13 pm »

OAuth Authentication to Coppermine and basic API functions (album fetch, photos fetch and comments fetch) access with correct auth and secret tokens

Plugin can tested with PhotoFrame Live Wallpaper version >= 10.8.2 ( http://www.4shared.com/file/bqneZwfE/android_photo_frame_live_wallp.html ) in any Android Phone with Android OS >= 2.1

Plugin download:

http://www.4shared.com/zip/aYojESlq/cpg15x_plugin_oauth_v10.html

Coppermine 1.5.24 + Oauth Plugin from:

http://www.4shared.com/zip/D4w8DI4V/cpg1524_and_PhotoFrameLiveWall.html
« Last Edit: September 10, 2014, 11:40:50 am by Αndré »
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4683
    • Windsurf.me
Re: OAuth Plugin
« Reply #1 on: July 12, 2013, 05:39:52 pm »

Thank you for your contribution. I will review and test this sometime next week then add it to our download repository. I have added you to the contributors group.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ISANexusDev

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 31
Re: OAuth Plugin
« Reply #2 on: July 13, 2013, 05:15:44 pm »

Here is a Sample Code for a Client using the OAuth Plugin. The code is in Java (the project itself is for Android but main classes can be used in other platforms)

http://www.4shared.com/zip/W70CuZR9/CoppermineSample.html

Also the apk for this client sample. It can be ran in any Android device with OS >= 2.1

http://www.4shared.com/android/SGDiCPMF/CoppermineSample.html

Logged

ISANexusDev

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 31
Re: OAuth Plugin
« Reply #3 on: July 13, 2013, 08:18:33 pm »

Found a bug while writing/testing the Sample Coppermine OAuth Plugin client for Android IN THE OAUTH PLUGIN itself, so, I corrected and created an incremental version 1.1. This can be downloaded from:

http://www.4shared.com/zip/WCAmaBN4/cpg15x_plugin_oauth_v11.html

Version 1.0 was returning only 1 photo per album. Somebody might want more photos per album... so, here it is 1.1 to futfill the need.
« Last Edit: July 16, 2013, 12:25:04 pm by ISANexusDev »
Logged
Pages: [1]   Go Up
 

Page created in 0.136 seconds with 21 queries.