Flarum (v2.0.0-beta.5)
    Preparing search index...

    The Session class defines the current user session. It stores a reference to the current authenticated user, and provides methods to log in/out.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    csrfToken: string

    The CSRF token.

    user: User | null

    The current authenticated user.

    Methods