Skip to content

Commit

Permalink
SDK quickstart structure - addressing comments #3
Browse files Browse the repository at this point in the history
  • Loading branch information
filipermit committed Jun 25, 2024
1 parent cb5f919 commit d21fdff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sdk/quickstart-by-language/quickstart-nodejs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const permit = new Permit({
Replace **`YOUR_API_KEY`** with the actual API key you obtained. Find instructions how to fetch your API
key [here](/overview/connecting-your-app#1-get-your-permit-environment-api-key).

## The fundamental functionality - Checking for permissions
## The SDK enforcement functionality - Checking for permissions

`permit.check()` is the fundamental SDK function that controls the enforcement in your application level code. It acts as a guard of who
can do what, based on the policy that you defined.
Expand All @@ -87,7 +87,7 @@ if (permitted) {
}
```

## Other basic functionality with the SDK
## Other API configuration functionality with the SDK

In this quickstart, we'll introduce you to some core Permit.io functionality using the SDK. As you'll see, the SDK is designed to
be simple and logical, making it easy to develop and manage policies.
Expand Down

0 comments on commit d21fdff

Please sign in to comment.