Moodle

Implement automatic token creation system

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Critical 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

Issue Links

Activity

Hide
Jerome Mouneyrac added a comment -

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.
=>
Can register to a hub. A private token is generated and sent automatically.

Show
Jerome Mouneyrac added a comment - 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. => Can register to a hub. A private token is generated and sent automatically.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: