Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21838

Implement automatic token creation system

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Hub
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Private token = user "Hub user" role "Hub information" web service "Hub information" token "Hub name"

      Public token = created when config setting is changed to "Allow public access to list and search courses in this hub"

      Site

      Can register to a hub. If "keep my entry up-to-date" is not unset then generates a private token and sends it with registration.

      WS Functions

      get_info() - requires private token

      Hub

      Can register to the directory. A private token is generated and sent automatically.

      Can provide a public hub token if admin allows it in config.

      WS Functions

      get_sites() - requires private token

      get_courses() - using public hub token

      Directory

      Provides a publc token always.

      WS Functions

      get_hubs() - requires public web token

      get_courses() - requires public hub token

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jerome Jérôme Mouneyrac
              Reporter:
              jerome Jérôme Mouneyrac
              Tester:
              Nobody
              Participants:
              Component watchers:
              David Mudrák (@mudrd8mz), Helen Foster
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10