Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
core_badges Namespace Reference

Communicate with backpacks. More...

Namespaces

namespace  external
 Contains alignment class for displaying a badge alignment.
 
namespace  form
 Form class for mybackpack.php.
 
namespace  oauth2
 This file to proccess Oauth2 connects for backpack.
 
namespace  output
 Issued badge renderable.
 
namespace  privacy
 Data provider.
 

Classes

class  backpack_api
 Class for communicating with backpacks. More...
 
class  backpack_api2p1
 To process badges with backpack and control api request and this class using for Open Badge API v2.1 methods. More...
 
class  backpack_api2p1_mapping
 Represent a single method for the remote api and this class using for Open Badge API v2.1 methods. More...
 
class  backpack_api_mapping
 Represent a single method for the remote api. More...
 
class  badge
 Class that represents badge. More...
 
class  helper
 Badge helper library. More...
 

Variables

global $CFG
 
const BADGE_ACCESS_TOKEN 'access'
 
const BADGE_BACKPACK_ID_TOKEN 'backpack_id'
 
const BADGE_EXPIRES_TOKEN 'expires'
 
const BADGE_REFRESH_TOKEN 'refresh'
 
const BADGE_USER_ID_TOKEN 'user_id'
 

Detailed Description

Communicate with backpacks.

Badge helper library.

Badge assertion library.

Represent the url for each method and the encoding of the parameters and response.

 

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Yuliya Bozhko yuliy.nosp@m.a.bo.nosp@m.zhko@.nosp@m.tota.nosp@m.ralms.nosp@m..com
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Tung Thai Tung..nosp@m.Thai.nosp@m.Duc@n.nosp@m.asht.nosp@m.echgl.nosp@m.obal.nosp@m..com

The code is based on badges/classes/backpack_api_mapping.php by Yuliya Bozhko yuliy.nosp@m.a.bo.nosp@m.zhko@.nosp@m.tota.nosp@m.ralms.nosp@m..com.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Author
Tung Thai Tung..nosp@m.Thai.nosp@m.Duc@n.nosp@m.asht.nosp@m.echgl.nosp@m.obal.nosp@m..com
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later