Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update authentication.md #863

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/usage/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ app_user_client = Client(app_user_auth)
### Client Credentials Grant

Allows you to obtain an access token by having client credentials and secret with enterprise or user ID,
which allows you to work using service or user account.
which allows you to work using a service or user account.

You can use `CCGAuth` to initialize a client object the same way as for other authentication types:

Expand All @@ -197,7 +197,7 @@ client = Client(auth)
print(f'Id of the authenticated user is: {client.user().get().id}')
```

Obtained token is valid for specified ammount of time, it will be refreshed automatically by default.
Obtained token is valid for specified amount of time, it will be refreshed automatically by default.

#### Obtaining Service Account token

Expand All @@ -216,7 +216,7 @@ auth = CCGAuth(
)
```

Remember that you can still make calls on behalf of managed users, which are part of your etnerprise, by using
Remember that you can still make calls on behalf of managed users, which are part of your enterprise, by using
[As-User](#as-user) bahaviour.

#### Obtaining User token
Expand Down
Loading