Magidoc

tokenRefresh
Mutation

Refresh JWT token. Mutation tries to take refreshToken from the input.If it fails it will try to take refreshToken from the http-only cookie -refreshToken. csrfToken is required when refreshToken is provided as a cookie.

Arguments

#

csrfToken

CSRF token required to refresh token. This argument is required when refreshToken is provided as a cookie.

refreshToken

Refresh token.

Response

#

Returns RefreshToken .

Example

#