Package org.mycore.orcid.oauth
Class MCRORCIDResponse
java.lang.Object
org.mycore.orcid.oauth.MCRORCIDResponse
- Direct Known Subclasses:
MCRRevokeResponse
,MCRTokenResponse
Represents the response on a request against the OAuth2 API of orcid.org.
- Author:
- Frank Lützenkirchen, Kai Brandhorst
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetORCID()
Returns the ORCID given in the response, if anyboolean
-
Field Details
-
responseData
protected com.fasterxml.jackson.databind.JsonNode responseData
-
-
Method Details
-
wasSuccessful
public boolean wasSuccessful() -
getStatusMessage
-
getORCID
Returns the ORCID given in the response, if any
-