Extension:WikimediaApiPortalOAuth/fi

The WikimediaApiPortalOAuth extension is designed to connect the API Portal with the OAuth server on Meta-Wiki by providing a user interface for creating and managing OAuth 2.0 clients. This extension requires the ability to connect to a wiki acting as an OAuth controller and running OAuth 1.36 or later.

Asennus
WikimediaApiPortalOAuth requires MediaWiki 1.35 or later.


 * Download and place the file(s) in a directory called  in your   folder.
 * Add the following code at the bottom of your LocalSettings.php:


 * ✅ - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Määritys
On the wiki where WikimediaApiPortalOAuth is installed, set  to the URL for rest.php on the OAuth controller wiki. For example, in the case of the beta Wikimedia API Portal, the OAuth controller wiki is the beta instance of Meta-Wiki. To allow WikimediaApiPortalOAuth to make requests to the OAuth server, set  to true on the OAuth controller wiki.

Käyttö
The Special:AppManagement page provides a simplified set of options for creating and managing OAuth 2.0 clients. The extension supports creating two types of OAuth 2.0 clients:


 * owner-only clients
 * clients with authorization code, client credentials, and refresh token grant types

For more information about OAuth 2.0, visit OAuth/For Developers.