Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Extension:OAuth: Difference between revisions

Content deleted Content added
add section
m Reverted edits by 2001:EE0:1A20:657A:B4E1:5812:761E:ED1B (talk) to last version by Osnard
Tag: Rollback
 
(5 intermediate revisions by 4 users not shown)
Line 20:
|newhook1 = OAuthReplaceMessage
|rights = <nowiki/>
*<code>mwoauthproposeconsumer</code>
*<code>mwoauthupdateownconsumer</code>
*<code>mwoauthmanageconsumer</code>
*<code>mwoauthsuppress</code>
*<code>mwoauthviewsuppressed</code>
*<code>mwoauthviewprivate</code>
*<code>mwoauthmanagemygrants</code>
}}
<section begin=description />
Line 186:
 
<translate>
== Endpoints == <!--T:169-->
 
</translate>
<translate>
=== OAuth 2.0 REST endpoints === <!--T:34-->
 
Line 413 ⟶ 412:
 
{{Note|1=<translate><!--T:60--> If OAuth credentials are shared over a wiki farm, make sure that real names are used/hidden consistently across all wikis (using <tvar name=1>{{ll|Manual:$wgHiddenPrefs|$wgHiddenPrefs}}</tvar>).</translate> <translate><!--T:61--> On wikis where real names are hidden, the OAuth permission request message that tells the user which information is shared does not mention the real name, so in that case there should not be any other wiki where the OAuth consumer may still get that information from.</translate>}}
 
<translate>
=== Experimental REST endpoints === <!--T:36-->
 
<!--T:37-->
To enable the experimental REST endpoints, add the <tvar name=1>{{ll|Manual:$wgRestAPIAdditionalRouteFiles|$wgRestAPIAdditionalRouteFiles}}</tvar> configuration variable to your <tvar name=2>LocalSettings.php</tvar>:
</translate>
 
<syntaxhighlight lang="php">
$wgRestAPIAdditionalRouteFiles[] = "$wgExtensionDirectory/OAuth/experimentalRoutes.json";
</syntaxhighlight>
 
<translate>
== See also == <!--T:9-->
Line 431 ⟶ 418:
* {{ll|Extension:WSOAuth}} – <translate><!--T:20--> A MediaWiki extension that lets your wiki delegate authentication to any OAuth provider using PluggableAuth, including a wiki that is running Extension:OAuth.</translate>
* {{ll|oauthclient-php}} – <translate><!--T:21--> A client library for OAuth consumers.</translate>
 
 
{{OnWikimedia}}