Skip to content

Commit 00c4be9

Browse files
update documentation of response params
intuit#28
1 parent 058eedf commit 00c4be9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/user-guide.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ Get authorization url by specifying list of `intuitlib.enums.Scopes` ::
2424

2525
url = auth_client.get_authorization_url([Scopes.ACCOUNTING])
2626

27-
After user connects to the app, the callback URL has params for `state`, `auth_code` and `realm_id` (`realm_id` for Accounting and Payments scopes only)
27+
After user connects to the app, the callback URL has params for `state`, `code` and `realmId` (`realmId` for Accounting and Payments scopes only)
2828

2929
Step 3: Get Tokens and Expiry details
3030
++++++++++++++++++++++++
3131

32-
The `auth_code` from URL params from Step 2 is used to get bearer tokens. Optionally, `realm_id` is passed to set this property for `auth_client` object. ::
32+
The `code` from URL params from Step 2 is used to get bearer tokens. Optionally, `realmId` is passed to set this property for `auth_client` object. ::
3333
34-
auth_client.get_bearer_token(auth_code, realm_id=realm_id)
34+
auth_client.get_bearer_token(code, realm_id=realmId)
3535

3636
After successful response, `access_token`, `refresh_token`, etc properties of `auth_client` object are set.
3737

0 commit comments

Comments
 (0)