mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
15
framework/reactioncommerce/utils/mutations/authenticate.ts
Normal file
15
framework/reactioncommerce/utils/mutations/authenticate.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
const authenticateMutation = /* GraphQL */ `
|
||||
mutation authenticate(
|
||||
$serviceName: String!
|
||||
$params: AuthenticateParamsInput!
|
||||
) {
|
||||
authenticate(serviceName: $serviceName, params: $params) {
|
||||
sessionId
|
||||
tokens {
|
||||
refreshToken
|
||||
accessToken
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
export default authenticateMutation
|
Reference in New Issue
Block a user