Commit 4624215d authored by Martin Juhás's avatar Martin Juhás
Browse files

feat: add api token authentication

### Additions

* added new type `CreateBotType`
* added new input type `CreateBotInput`
* added new `createBot(createBotInput: CreateBotInput!): (botUser: IUserType!, apiToken: String!)` mutation
* added new `rotateApiKey(userId: ID!): newApiToken: String!` mutation
* added new `EndpointPermissionsEnum` enum
* added new `allowedEndpoints: [EndpointPermissionsEnum!]!` field on `IUserType`

Closes #530
parent 768197df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment