public final class TestClients
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static class |
TestClients.Profile |
The user profiles registered in the sandbox.
|
Constructor | Description |
---|---|
TestClients() |
Modifier and Type | Method | Description |
---|---|---|
static ORCIDClient |
getCRISClient(TestClients.Profile profile) |
Retrieves an ORCID client for a given user profile using the local CRIS
Member API client id.
|
static ORCIDClient |
getExternalClient(TestClients.Profile profile) |
Retrieves an ORCID client for a given user profile using the a Member API
client id that is not the local CRIS (used to simulate an external
source).
|
public static ORCIDClient getCRISClient(TestClients.Profile profile)
profile
- the ORCID user profilepublic static ORCIDClient getExternalClient(TestClients.Profile profile)
profile
- the ORCID user profile