Constructor: auth.loginToken

Back to constructors index

Login token (for QR code login)


Name Type Required Description
expires int Yes Expiry date of QR code
token bytes Yes Token to render in QR code

Type: auth.LoginToken


$auth.loginToken = ['_' => 'auth.loginToken', 'expires' => int, 'token' => 'bytes'];

Or, if you’re into Lua:

auth.loginToken={_='auth.loginToken', expires=int, token='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.