Package org.mycore.orcid.oauth
Class MCRReadPublicTokenFactory
java.lang.Object
org.mycore.orcid.oauth.MCRReadPublicTokenFactory
Returns the read-public access token to read public data from ORCID.org.
A token is needed for access to the public API, see
https://members.orcid.org/api/tutorial/read-orcid-records#readpub
The token can be configured via MCR.ORCID.OAuth.ReadPublicToken.
In case that is not set, the token is directly requested from the OAuth2 API and logged.
- Author:
- Frank Lützenkirchen *
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRReadPublicTokenFactory
public MCRReadPublicTokenFactory()
-
-
Method Details
-
getToken
Returns the read-public access token
-