nextcloud/orcid

Name: orcid

Owner: Nextcloud

Description: null

Created: 2017-02-07 18:49:31.0

Updated: 2018-05-23 00:37:25.0

Pushed: 2018-05-23 00:37:24.0

Homepage: null

Size: 845

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Scrutinizer Code Quality

Based on user_orcid from Lars Naesbye Christensen, DeIC for ownCloud - https://github.com/deic-dk/user_orcid

Authenticate with ORCID

example screenshot

This app will use the API from https://orcid.org/ to access and archive users' ORCID information.

Dependencies
Installation instructions

Copy the app files to the nextcloud/apps/ directory. In the Admin Interface, fill the data with the API credential (Client ID + Client secret) from https://orcid.org/developer-tools. The redirect URL displayed in the Admin Interface (Nextcloud) will be used to setup your API on the ORCID Interface.

Usage

In the Personal Settings Interface, your users will identify themself using Orcid OAuth2 and grant access to the nextcloud. The OrcID (0000-00xx-xxxx-xxxx) and an access_token are saved into the database:

Api

Requesting ORCID from another app:

$orcid = \OCA\Orcid\Service\ApiService::getUserOrcid($username);

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.