Module nakama.session

Create and check Nakama sessions.

Functions

expired (session) Check whether a Nakama session has expired or not.
create (data) Create a session object with the given data and included token.


Functions

expired (session)
Check whether a Nakama session has expired or not.

Parameters:

  • session The session object created with session.create.

Returns:

    A boolean if the session has expired or not.
create (data)
Create a session object with the given data and included token.

Parameters:

  • data A data table containing a "token" attribute.

Returns:

    The session object.
generated by LDoc 1.4.6 Last updated 2021-11-05 15:42:41