Class MCRReadPublicTokenFactory

java.lang.Object
org.mycore.orcid.oauth.MCRReadPublicTokenFactory

public class MCRReadPublicTokenFactory extends Object
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 Details

    • MCRReadPublicTokenFactory

      public MCRReadPublicTokenFactory()
  • Method Details

    • getToken

      public static String getToken()
      Returns the read-public access token