auth.acceptLoginToken

Accept QR code login token, logging in the app that generated it.

Returns info about the new session.

For more info, see login via QR code.

 Method schema is available as of layer 107. Switch ยป

Parameters

Name Type Description
token bytes Login token embedded in QR code, for more info, see login via QR code.

Result

Authorization

Possible errors

Code Type Description
400 AUTH_TOKEN_ALREADY_ACCEPTED The specified auth token was already accepted.
400 AUTH_TOKEN_EXCEPTION An error occurred while importing the auth token.
400 AUTH_TOKEN_EXPIRED The authorization token has expired.
400 AUTH_TOKEN_INVALIDX The specified auth token is invalid.

Related pages

Login via QR code

QR code login flow