-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add docs for the new feature of accessKey and secretKey
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 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 @@ | ||
--- | ||
title: Api Key | ||
description: Access api with api key | ||
keywords: [user, api key, accessKey, accessSecret] | ||
authors: [DacongDA] | ||
--- | ||
|
||
## Access api with api key | ||
|
||
You can access casdoor api with accessKey and accessSecret of user. | ||
|
||
1. Create a pair of accessKey and accessSecret in account setting page. | ||
2. Put accessKey and accessSercet in into the http query param. | ||
|
||
## Example | ||
|
||
![User Api Key](/img/user/user_api_key.png) | ||
|
||
```bash | ||
curl --location 'http://door.casdoor.com/api/user?accessKey=b86db9dc-6bd7-4997-935c-af480dd2c796&accessSecret=79911517-fc36-4093-b115-65a9741f6b14' | ||
``` |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.