ADO.NET Provider for FreshBooks

Build 20.0.7654

GetOAuthAccessToken

Obtains the OAuth access token to be used for authentication with FreshBooks.

Input

Name Type Required Description
AuthMode String True The authentication mode to use.

The allowed values are APP, WEB.

The default value is APP.

AuthToken String False The request token returned from GetOAuthAuthorizationURL. Only useful when AuthMode=WEB.
AuthSecret String False The request secret key returned by GetOAuthAuthorizationURL. Only useful when AuthMode=WEB.
Verifier String False The verifier token returned in the response from the FreshBooks OAuth endpoint when GetOAuthAuthorizationURL is called.

Result Set Columns

Name Type Description
OAuthAccessToken String The authentication token returned from FreshBooks. This can be used in subsequent calls to other operations for this particular service.
OAuthAccessTokenSecret String The authentication token secret returned from FreshBooks This can be used in subsequent calls to other operations for this particular service.
ExpiresIn String The remaining lifetime on the access token. A -1 denotes that it will not expire.

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7654