The AuthPayload output type is used to return the token and user after signing in.
AuthPayload
token
The JWT of the user, used for authentication
user
The user object associated with the authenticated token.
updateUser
Boolean