mirror of
https://github.com/vercel/commerce.git
synced 2025-05-19 07:56:59 +00:00
16 lines
331 B
TypeScript
16 lines
331 B
TypeScript
const authenticateMutation = /* GraphQL */ `
|
|
mutation authenticate(
|
|
$serviceName: String!
|
|
$params: AuthenticateParamsInput!
|
|
) {
|
|
authenticate(serviceName: $serviceName, params: $params) {
|
|
sessionId
|
|
tokens {
|
|
refreshToken
|
|
accessToken
|
|
}
|
|
}
|
|
}
|
|
`
|
|
export default authenticateMutation
|