mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-30 17:55:13 +02:00
Update API docs for 2.4 (#960)
- Update API specs for 2.4 (#960) - Update API docs - Regenerate Python docs
This commit is contained in:
parent
961ad35469
commit
8eac99c182
62 changed files with 2036 additions and 1949 deletions
|
|
@ -3,10 +3,19 @@ scheme: bearer
|
|||
description: |
|
||||
Bearer token authentication.
|
||||
|
||||
Set via `GATEWAY_SECRET` environment variable on the gateway.
|
||||
If `GATEWAY_SECRET` is not set, authentication is disabled (development mode).
|
||||
Clients authenticate by passing an opaque token in the
|
||||
`Authorization` header. The token is treated as an opaque string by
|
||||
clients — its internal structure is a gateway implementation detail
|
||||
and must not be relied upon.
|
||||
|
||||
The gateway resolves the token to an authenticated identity and an
|
||||
associated workspace. All workspace-scoped and flow-scoped operations
|
||||
then execute within that workspace context.
|
||||
|
||||
Tokens are obtained via the IAM service (e.g. `tg-login` or
|
||||
`tg-create-api-key`).
|
||||
|
||||
Example:
|
||||
```
|
||||
Authorization: Bearer your-secret-token
|
||||
Authorization: Bearer <token>
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue