Skip to content

Commit

Permalink
added a page for authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Apr 7, 2024
1 parent 87abea1 commit ba94ada
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/altair-docs/docs/features/auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
parent: Features
---

# Authorization

You can add different authorizations to your request. This grants the client the permissions to access your GraphQL API. Altair applies your chosen authorization before sending your request. Altair supports various authorization methods.

## API Keys

You can specify the API key and value used by your API.

## Basic authorization

Add your username and password credentials if your API supports the [basic authentication](https://datatracker.ietf.org/doc/html/rfc7617) scheme.

## Bearer token

[Bearer token](https://datatracker.ietf.org/doc/html/rfc6750) is another authentication scheme supported by Altair. This is a common type of authorization used as part of the popular OAuth 2.0 protocol.

0 comments on commit ba94ada

Please sign in to comment.