Microsoft Account
Versions
Current version
3.1.0.0 (2016062000)
3.1.0.0
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2016062000
Version release name: 3.1.0.0
Maturity: Stable
Supported Moodle versions: 3.1
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v3.1.0.0
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/30/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.7 (2015011608)
27.0.0.7
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011608
Version release name: 27.0.0.7
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v27.0.0.7
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/27/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.6 (2015012706)
28.0.0.6
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012706
Version release name: 28.0.0.6
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v28.0.0.6
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/28/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
29.0.0.5 (2015060105)
29.0.0.5
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015060105
Version release name: 29.0.0.5
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v29.0.0.5
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
30.0.0.4 (2015111904)
30.0.0.4
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015111904
Version release name: 30.0.0.4
Maturity: Stable
Supported Moodle versions: 3.0
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v30.0.0.4
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/30/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
30.0.0.3 (2015111903)
30.0.0.3
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015111903
Version release name: 30.0.0.3
Maturity: Stable
Supported Moodle versions: 3.0
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v30.0.0.3
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/30/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
29.0.0.4 (2015060104)
29.0.0.4
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015060104
Version release name: 29.0.0.4
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v29.0.0.4
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.5 (2015012705)
28.0.0.5
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012705
Version release name: 28.0.0.5
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v28.0.0.5
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/28/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.6 (2015011607)
27.0.0.6
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011607
Version release name: 27.0.0.6
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v27.0.0.6
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/Microsoft/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/27/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft's Contributor License Agreement. If you've done this for other Microsoft projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
30.0.0.2 (2015111902)
30.0.0.2
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015111902
Version release name: 30.0.0.2
Maturity: Stable
Supported Moodle versions: 3.0
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v30.0.0.2
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
29.0.0.3 (2015060103)
29.0.0.3
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015060103
Version release name: 29.0.0.3
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v29.0.0.3
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.4 (2015012704)
28.0.0.4
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012704
Version release name: 28.0.0.4
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v28.0.0.4
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.5 (2015011606)
27.0.0.5
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011606
Version release name: 27.0.0.5
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/Microsoft/moodle-local_msaccount
Repository branch:
Repository tag: v27.0.0.5
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
30.0.0.1 (2015111901)
30.0.0.1
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015111901
Version release name: 30.0.0.1
Maturity: Stable
Supported Moodle versions: 3.0
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v30.0.0.1
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
29.0.0.2 (2015060102)
29.0.0.2
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015060102
Version release name: 29.0.0.2
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v29.0.0.2
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.3 (2015012703)
28.0.0.3
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012703
Version release name: 28.0.0.3
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v28.0.0.3
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.4 (2015011605)
27.0.0.4
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011605
Version release name: 27.0.0.4
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v27.0.0.4
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
29.0.0.1 (2015060101)
29.0.0.1
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015060101
Version release name: 29.0.0.1
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v29.0.0.1
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.2 (2015012702)
28.0.0.2
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012702
Version release name: 28.0.0.2
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v28.0.0.2
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.3 (2015011604)
27.0.0.3
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011604
Version release name: 27.0.0.3
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v27.0.0.3
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = \local_msaccount\api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
local_msaccount\api class
This is a singleton class that provides simple wrappers for various methods provided by the local_msaccount\client class. Please use this class for accessing all the functionality provided by the local_msaccount\client class.
local_msaccount\client class
Note: Please do not use this class directly. Instead, use the local_msaccount\api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Installation.
- Unpack the plugin into /local/msaccount within your Moodle install.
- From the Moodle Administration block, expand Site Administration and click "Notifications".
- Follow the on-screen instuctions to install the plugin.
For more documentation, visit https://docs.moodle.org/29/en/Office365
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
29.0.0.0 (2015060100)
29.0.0.0
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015060100
Version release name: 29.0.0.0
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v29.0.0.0
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = msaccount_api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
msaccount_api class
This is a singleton class that provides simple wrappers for various methods provided by the msaccount_client class. Please use this class for accessing all the functionality provided by the msaccount_client class.
msaccount_client class
Note: Please do not use this class directly. Instead, use the msaccount_api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.1 (2015012701)
28.0.0.1
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012701
Version release name: 28.0.0.1
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v28.0.0.1
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = msaccount_api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
msaccount_api class
This is a singleton class that provides simple wrappers for various methods provided by the msaccount_client class. Please use this class for accessing all the functionality provided by the msaccount_client class.
msaccount_client class
Note: Please do not use this class directly. Instead, use the msaccount_api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.2 (2015011603)
27.0.0.2
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011603
Version release name: 27.0.0.2
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch:
Repository tag: v27.0.0.2
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = msaccount_api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
msaccount_api class
This is a singleton class that provides simple wrappers for various methods provided by the msaccount_client class. Please use this class for accessing all the functionality provided by the msaccount_client class.
msaccount_client class
Note: Please do not use this class directly. Instead, use the msaccount_api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
28.0.0.0 (2015012700)
28.0.0.0
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015012700
Version release name: 28.0.0.0
Maturity: Stable
Supported Moodle versions: 2.8
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch: MOODLE_28_STABLE
Repository tag: v28.0.0.0
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = msaccount_api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
msaccount_api class
This is a singleton class that provides simple wrappers for various methods provided by the msaccount_client class. Please use this class for accessing all the functionality provided by the msaccount_client class.
msaccount_client class
Note: Please do not use this class directly. Instead, use the msaccount_api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
27.0.0.1 (2015011602)
27.0.0.1
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011602
Version release name: 27.0.0.1
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git): https://github.com/MSOpenTech/moodle-local_msaccount
Repository branch: MOODLE_27_STABLE
Repository tag: v27.0.0.1
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = msaccount_api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
msaccount_api class
This is a singleton class that provides simple wrappers for various methods provided by the msaccount_client class. Please use this class for accessing all the functionality provided by the msaccount_client class.
msaccount_client class
Note: Please do not use this class directly. Instead, use the msaccount_api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.
1.0.0.0 (2015011600)
1.0.0.0
Plugin type: Local plugins
Frankenstyle component name: local_msaccount
Version build number: 2015011600
Version release name: 1.0.0.0
Maturity: Stable
Supported Moodle versions: 2.7
Repository URL (Git):
Repository branch:
Repository tag:
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Set%3A+Microsoft+Services+%28Onenote%29%22
Moodle Plugins for Microsoft Services
including Office 365 and other Microsoft services
Microsoft Account API Local Plugin
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.
Usage
Instantiation:
$msaccountapi = msaccount_api::getinstance();
Logging the user in:
$msaccount_api->is_logged_in();
Making a REST API call:
$response = $msaccount_api->myget($url);
Design details
There are several parts that make up the Microsoft Account API plugin.
Configuration
This allows an administrator to specify OAuth2 settings such as client id and secret for the Microsoft Account application associated with this Moodle installation.
msaccount_api class
This is a singleton class that provides simple wrappers for various methods provided by the msaccount_client class. Please use this class for accessing all the functionality provided by the msaccount_client class.
msaccount_client class
Note: Please do not use this class directly. Instead, use the msaccount_api class described above.
This class is derived from Moodle's oauth2_client class and:
- adds support for retrieving and saving refresh tokens and logging in using the refresh token if the main token expires.
- this also becomes useful for automated unit testing because we can use the refresh tokens to log users in automatically.
- works around an issue in the oauth2_client where it sets the token in the header only if it thinks that it is making a post request, but the Microsoft Account REST API needs auth token in the header for get as well as post requests.
This is part of the suite of Microsoft Services plugins for Moodle.
This repository is updated with stable releases. To follow active development, see: https://github.com/MSOpenTech/o365-moodle
Contributing
Before we can accept your pull request, you'll need to electronically complete Microsoft Open Tech's Contributor License Agreement. If you've done this for other Microsoft Open Tech projects, then you're already covered.
Why a CLA? (from the FSF)
Copyright
© Microsoft Open Technologies, Inc. Code for this plugin is licensed under the GPLv3 license.
Any Microsoft trademarks and logos included in these plugins are property of Microsoft and should not be reused, redistributed, modified, repurposed, or otherwise altered or used outside of this plugin.