Constructor
# abstract new SimpleOsduClient(api_url, access_token)
Parameters:
Name | Type | Description |
---|---|---|
api_url |
string | The url for the OSDU API, with or without a trailing |
access_token |
string | The OSDU access token (obtained via OAuth) with which to authenticate all requests |
Methods
# updateAccessToken(access_token)
Mechanism for updating the access token used to authenticate all OSDU API requests
Parameters:
Name | Type | Description |
---|---|---|
access_token |
string | The OSDU access token (obtained via OAuth) with which to authenticate all requests |