Skip to main content

Authentication

Contains the tokens provided at a successfull authentication

type Authentication {
AccessToken: AccessToken!
RefreshToken: RefreshToken!
}

Fields

AccessToken ● AccessToken!

Access token which is used to identify who is calling the api. Sent in x-user-token header. If no token is provided a normal user is assumed

RefreshToken ● RefreshToken!

Refresh token which is used to refresh the access token

Example

{
"AccessToken": {},
"RefreshToken": {}
}