matrix-appservice-bridge
    Preparing search index...

    Class ProvisioningApi

    The provisioning API serves two classes of clients:

    • Integration managers which provide a unique secret token, and a userId
    • Widget users which provide a openId token.
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    baseRoute: Router

    Methods

    • Parameters

      • method: Methods
      • path: string
      • handler: (
            req: ProvisioningRequest,
            res: Response,
            next?: NextFunction,
        ) => void | Promise<void>
      • OptionalfnName: string

      Returns void

    • Returns Promise<void>

    • Parameters

      • err:
            | Error
            | IApiError
            | [
                Error
                | IApiError,

                    | Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
                    | ProvisioningRequest<{ [key: string]: string }, any, any, ParsedQs>,
            ]
      • _req: Request
      • res: Response
      • _next: NextFunction

      Returns void

    • Parameters

      • port: number
      • hostname: string = "0.0.0.0"
      • backlog: number = 10

      Returns Promise<void>