mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
added support for @deprecated
tag to api docs
This commit is contained in:
@ -211,3 +211,8 @@ h1:hover .hashlink, h2:hover .hashlink, h3:hover .hashlink, h4:hover .hashlink,
|
||||
.broken-link {
|
||||
background: lightpink;
|
||||
}
|
||||
|
||||
tr.deprecated td,
|
||||
tr.deprecated th {
|
||||
background: lightpink;
|
||||
}
|
@ -69,6 +69,9 @@ $renderer = $this->context;
|
||||
<?php if (!empty($type->since)): ?>
|
||||
<tr><th>Available since version</th><td><?= $type->since ?></td></tr>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($type->deprecatedSince) || !empty($type->deprecatedReason)): ?>
|
||||
<tr class="deprecated"><th>Deprecated since version</th><td><?= $type->deprecatedSince ?> <?= $type->deprecatedReason ?></td></tr>
|
||||
<?php endif; ?>
|
||||
<?php if (($sourceUrl = $renderer->getSourceUrl($type)) !== null): ?>
|
||||
<tr>
|
||||
<th>Source Code</th>
|
||||
|
@ -6,6 +6,7 @@ Yii Framework 2 authclient extension Change Log
|
||||
|
||||
- Enh #6743: Icon for Google at `yii\authclient\widgets\AuthChoice` fixed to follow the Google Brand guidelines (klimov-paul)
|
||||
- Enh #7754: New client `yii\authclient\clients\GooglePlus` added to support Google recommended auth flow (klimov-paul)
|
||||
- Chg: #7754: `yii\authclient\clients\GoogleOpenId` is now deprecated because this auth method is no longer supported by Google as of April 20, 2015 (klimov-paul)
|
||||
|
||||
|
||||
2.0.3 March 01, 2015
|
||||
|
@ -10,12 +10,11 @@ namespace yii\authclient\clients;
|
||||
use yii\authclient\OpenId;
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* GoogleOpenId allows authentication via Google OpenId.
|
||||
*
|
||||
* Warning: this class is deprecated since Google is shutting down OpenID protocol support!
|
||||
* **Warning: this class is deprecated since [Google is shutting down OpenID protocol support](https://developers.google.com/+/api/auth-migration#timetable)!**
|
||||
* Use [[GoogleOAuth]] or [[GoogleHybrid]] instead.
|
||||
*
|
||||
* GoogleOpenId allows authentication via Google OpenId.
|
||||
* Unlike Google OAuth you do not need to register your application anywhere in order to use Google OpenId.
|
||||
*
|
||||
* Example application configuration:
|
||||
@ -36,6 +35,7 @@ use yii\authclient\OpenId;
|
||||
*
|
||||
* @author Paul Klimov <klimov.paul@gmail.com>
|
||||
* @since 2.0
|
||||
* @deprecated 2.0.4 because this auth method is no longer supported by Google as of April 20, 2015.
|
||||
*/
|
||||
class GoogleOpenId extends OpenId
|
||||
{
|
||||
|
Reference in New Issue
Block a user