Nantes Université
Modifications
Historique de la page
Update Authorization
rédigé
oct. 08, 2020
par
Thomas TABBAZA
Afficher les modifications d'espaces
En ligne
Côte à côte
Configuration/Authorization.md
Voir la page @
4dee9ace
...
@@ -9,6 +9,8 @@ A user should provide a Personal Access Token with the following permissions:
...
@@ -9,6 +9,8 @@ A user should provide a Personal Access Token with the following permissions:
-
read_repository
-
read_repository
-
write_repository
-
write_repository
The token is stored in the OS secure storage using
[
node-keytar
](
https://github.com/atom/node-keytar
)
### GraphQL API Authorization
### GraphQL API Authorization
The GraphQL API has to be queried with the Personal Access Token set in the
`Authorization`
header as
`Bearer`
.
The GraphQL API has to be queried with the Personal Access Token set in the
`Authorization`
header as
`Bearer`
.
...
@@ -17,6 +19,5 @@ The GraphQL API has to be queried with the Personal Access Token set in the `Aut
...
@@ -17,6 +19,5 @@ The GraphQL API has to be queried with the Personal Access Token set in the `Aut
`git clone https://oauth2:${Personal Access Tokens}@gitlab.com/username/repo.git`
`git clone https://oauth2:${Personal Access Tokens}@gitlab.com/username/repo.git`
### Secure Storage
The token is stored in the OS secure storage using
[
node-keytar
](
https://github.com/atom/node-keytar
)