• Creates a new token in the database

    Parameters

    • db: any

      The database to use

    • newToken: any

      The token to create

    Returns Promise<any>

    The created token, or undefined if the token already exists