Skip to main content

AuthenticationPayload

type AuthenticationPayload {
authenticationToken: String
refreshToken: String
user: User
}

Fields

AuthenticationPayload.authenticationToken ● String scalar

This is the short-lived access token using which a user can authenticate API requests.

AuthenticationPayload.refreshToken ● String scalar

This is the long-lived refresh token used to obtain new access tokens without re-authentication.

AuthenticationPayload.user ● User object

Returned By

createUser mutation ● refreshToken mutation ● signIn query ● signUp mutation