Provides services to implement Matrix HomeServer features.

Methods in this service should only provide means to implement features, e.g. not have control itself. Actual control of things must reside in the user side of this service.

See

HsBackendController

Hierarchy

  • MatrixServerService

Constructors

Properties

_accessTokenExpirationTime: number
_defaultRoomVersion: MatrixRoomVersion
_deviceService: DeviceRepositoryService
_eventService: EventRepositoryService
_hostname: string
_jwtEngine: JwtEngine
_roomService: RoomRepositoryService
_url: string
_userService: UserRepositoryService

Methods

  • Verifies access token and returns the device it belongs to.

    Returns

    string The device id if access token is valid

    Parameters

    • accessToken: string

    Returns Promise<string>

Generated using TypeDoc