Microsoft Account
Premium Certified Partner
Maintained by
Enovation Dev Team, James McQuillan, Zion Brewer, Nima Mojgani
This plugin provides a simple client API for OAuth2-based authentication and token management for Microsoft Account. It also provides some helper functions for making REST API calls to services that use the Microsoft Account.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I got an error : Can't use function return value in write context in moodle/local/msaccount/classes/client.php on line 62
I solved it by doing this at the function that made the error at line 62:
public static function is_configured() {
$get_client_id = get_config('local_msaccount', 'clientid'); // New code
$get_client_secret = get_config('local_msaccount', 'clientsecret'); // New code
if ( $get_client_id == '' || $get_client_secret == '') {
return false;
}
return true;
}
I hope you can confirm the error and the solution
Kind regards
Henrik Sune Pedersen