mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
19 lines
420 B
TypeScript
19 lines
420 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
|
|
}
|
|
}
|
|
}
|
|
`
|