ACC.Initialize method
This method initializes the ACC instance with a Token and ACC URL. It should be executed prior to any other function or API call. It allows the user to reinitialize the ACC instance without needing to create a new instance.
public void Initialize(Func<string> getAccessToken, string accAPIBaseURL)
| parameter | description |
|---|---|
| getAccessToken | The SSO access token function pointer |
| accAPIBaseURL | ACC API Base URL |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | This exception is thrown when getAccessToken or accAPIBaseURL is null or empty. |
See Also
- class ACC
- namespace Autodesk.DataExchange.Extensions.HostingProvider