Extension:OAuth/cs

Rozšíření OAuth implementuje server OAuth v MediaWiki, který podporuje jak verze protokolu OAuth 1.0a, tak OAuth 2.0. It allows third party developers to securely develop applications ("consumers"), to which users can give a limited set of permissions ("grants"), so that the application can use the MediaWiki action API on the user's behalf.

Requirements

 * OAuth relies on the object cache for temporary tokens and sessions. This should work as long as cache configuration settings are sane. (Older versions required Memcached explicitly.)
 * Currently, only MySQL and SQLite database backends are supported
 * If the MediaWiki installation is private (i.e. users need to log in to have read access), Special:OAuth will need to be added to the white list.

User rights
To assign a permission to some group, for example to sysops, you add following line to :

OAuth 2.0 REST endpoints
The following REST endpoints are provided for OAuth 2.0 interaction

Experimental REST endpoints
To enable the experimental REST endpoints, add the configuration variable to your LocalSettings.php: