• Create a new session for given user

    Author

    aayushchugh

    Parameters

    • userId: string

      id of the user for which session will be created

    Returns Promise<Document<any, BeAnObject, Session> & Session & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    }>

Generated using TypeDoc