signInUser

Permite iniciar sesión con el usuario

Variables

Name
Type
Required

Returns

Retorna un objeto SignInUserPayload

Query

Mutation
mutation signInUser(
  $input: SignInUserInput
) {
  signInUser(
    input: $input
  ) {
    data {
      user {
        token
      }
    }
  }
}

Response

{
  "data": {
    "signInUser": {
      "user": {
        "token": "token_secreto"
      }
    }
  }
}

Última actualización