From 00c4be90887790e3a0dbd4560a9d01c5dd28cf17 Mon Sep 17 00:00:00 2001 From: Daniel Butler Date: Thu, 21 Apr 2022 23:30:30 -0400 Subject: [PATCH] update documentation of response params #28 --- docs/user-guide.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user-guide.rst b/docs/user-guide.rst index 3f741f6..61e2f60 100644 --- a/docs/user-guide.rst +++ b/docs/user-guide.rst @@ -24,14 +24,14 @@ Get authorization url by specifying list of `intuitlib.enums.Scopes` :: url = auth_client.get_authorization_url([Scopes.ACCOUNTING]) -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) +After user connects to the app, the callback URL has params for `state`, `code` and `realmId` (`realmId` for Accounting and Payments scopes only) Step 3: Get Tokens and Expiry details ++++++++++++++++++++++++ -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. :: +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. :: - auth_client.get_bearer_token(auth_code, realm_id=realm_id) + auth_client.get_bearer_token(code, realm_id=realmId) After successful response, `access_token`, `refresh_token`, etc properties of `auth_client` object are set.