Constructor: auth.authorization

Back to constructors index

Contains user authorization info.

Attributes:

Name Type Required Description
tmp_sessions int Optional Temporary passport sessions
user User Optional Info on authorized user

Type: auth.Authorization

Example:

$auth.authorization = ['_' => 'auth.authorization', 'tmp_sessions' => int, 'user' => User];

Or, if you’re into Lua:

auth.authorization={_='auth.authorization', tmp_sessions=int, user=User}

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