Switch Telegram/Max login to bot temporary token flow
This commit is contained in:
12
graphql/operations/auth/consume-login-token.graphql
Normal file
12
graphql/operations/auth/consume-login-token.graphql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation ConsumeLoginToken($token: String!) {
|
||||
consumeLoginToken(token: $token) {
|
||||
accessToken
|
||||
expiresAt
|
||||
user {
|
||||
id
|
||||
email
|
||||
fullName
|
||||
role
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -323,6 +323,7 @@ input ReviewRewardWithdrawalInput {
|
||||
type Mutation {
|
||||
requestLoginCode(input: RequestLoginCodeInput!): AuthCodeRequestResult!
|
||||
verifyLoginCode(input: VerifyLoginCodeInput!): AuthSession!
|
||||
consumeLoginToken(token: String!): AuthSession!
|
||||
registerSelf(input: RegisterSelfInput!): RegistrationRequest!
|
||||
reviewRegistrationRequest(input: ReviewRegistrationRequestInput!): RegistrationRequest!
|
||||
createInvitation(input: CreateInvitationInput!): Invitation!
|
||||
|
||||
Reference in New Issue
Block a user