Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle 4 Administration

You're reading from   Moodle 4 Administration An administrator's guide to configuring, securing, customizing, and extending Moodle

Arrow left icon
Product type Paperback
Published in Oct 2022
Publisher Packt
ISBN-13 9781801816724
Length 640 pages
Edition 4th Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Alex Büchner Alex Büchner
Author Profile Icon Alex Büchner
Alex Büchner
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Chapter 1: Installing Moodle 2. Chapter 2: Exploring the Moodle System FREE CHAPTER 3. Chapter 3: Exploring Courses, Users, and Roles 4. Chapter 4: Managing Courses and Enrolments 5. Chapter 5: Managing Users, Cohorts, and Authentication 6. Chapter 6: Managing Permissions, Roles, and Capabilities 7. Chapter 7: Enhancing Moodle’s Look and Feel 8. Chapter 8: Understanding Moodle Plugins 9. Chapter 9: Configuring Educational Features 10. Chapter 10: Configuring Technical Features 11. Chapter 11: Enabling Mobile Learning 12. Chapter 12: Gaining Insights through Moodle Reporting and Analytics 13. Chapter 13: Ensuring Moodle Security 14. Chapter 14: Complying with Data Protection Regulations 15. Chapter 15: Optimizing Moodle Performance 16. Chapter 16: Avoiding Sleepless Nights – Moodle Backup and Restore 17. Chapter 17: Working with Moodle Admin Tools 18. Chapter 18: Integrating External Systems Using Moodle Web Services 19. Chapter 19: Setting Up Moodle Networking 20. Chapter 20: Supporting Multi-Tenancy 21. Index 22. Other Books You May Enjoy Appendix: Configuration Settings

Enabling web services for users

It is sometimes necessary for users to have to access web services directly instead of applications – for example, a developer who needs to execute test runs against the system. The process is a subset of steps already covered in the previous section and follows the Users as clients with token section on the web services overview screen:

Figure 18.12 – Web services for users as clients with tokens

These steps should be familiar by now; there are only two minor deviations from the previous scenario when web services were allowed for external systems instead of users.

In step 3, the Authorized users option must be unchecked. In addition to the protocol use capabilities, the users must have the moodle/webservice:createtoken capability set to allowed (see step 5).

To test the service (see step 6), log in as the user, obtain a security token for testing, and avoid using the simple authentication method in the web...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime