-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from appwrite/feat-tutorials
feat: tutorials
- Loading branch information
Showing
59 changed files
with
2,684 additions
and
669 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
{% info title="Account vs Users API" %} | ||
Appwrite provides two APIs to manager user accounts. | ||
|
||
The Account API is the API you should use in your **client applications** like web, Flutter, mobile, and native apps. | ||
Account API creates sessions, which represent an authenticated user and is attached to a user's [account](/docs/products/auth/account). | ||
Sessions respect [permissions](/docs/advanced/platform/permissions), which means users can only access resources if they have been granted the correct permissions. | ||
|
||
You'll notice that the Account API doesn't allow you to view or make changes to other users. | ||
This is by design and for **security reasons**. | ||
|
||
[Account API references](/docs/references/cloud/client-web/account) | ||
|
||
The Users API is a dedicated API for managing users from an admin's perspective. **Do not use the Users API on client applications**. | ||
It should be used with backend or server-side applications with the [Server SDK](#). | ||
|
||
Users API uses API keys instead of sessions. | ||
This means they're not resticted by permissions, but by the scopes granted to the API key used. | ||
|
||
[Users API references](/docs/references/cloud/server-nodejs/users) | ||
{% /info %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.