2022-01-14 13:33:59 -05:00

21 lines
416 B
TypeScript

export const loginMutation = /* GraphQL */`
mutation login($loginInput:CustomerUserAuthInfoInput!) {
account:createCustomerAuthTicket(customerUserAuthInfoInput:$loginInput) {
accessToken
userId
refreshToken
refreshTokenExpiration
accessTokenExpiration
customerAccount {
id
firstName
lastName
emailAddress
userName
}
}
}
`