From 3820b3406e05ec861662a6efe3865769fc05e8bb Mon Sep 17 00:00:00 2001 From: Ihor Sychevskyi Date: Mon, 20 Dec 2021 09:07:15 +0200 Subject: [PATCH] Fix #19086: Update HTTP Bearer Tokens link (#19087) --- docs/guide-es/rest-authentication.md | 2 +- docs/guide-ja/rest-authentication.md | 2 +- docs/guide-pt-BR/rest-authentication.md | 2 +- docs/guide-ru/rest-authentication.md | 2 +- docs/guide-zh-CN/rest-authentication.md | 2 +- docs/guide/rest-authentication.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guide-es/rest-authentication.md b/docs/guide-es/rest-authentication.md index 7df5f6f..53b070a 100644 --- a/docs/guide-es/rest-authentication.md +++ b/docs/guide-es/rest-authentication.md @@ -19,7 +19,7 @@ Hay muchas maneras de enviar una token (pieza) de acceso: que no usen las cabeceras HTTP para enviar piezas de acceso. * [OAuth 2](http://oauth.net/2/): la pieza de acceso es obtenida por el consumidor por medio de una autorización del servidor y enviada al API del servidor según el protocolo - OAuth 2 [tokens HTTP del portador](http://tools.ietf.org/html/rfc6750). + OAuth 2 [tokens HTTP del portador](https://datatracker.ietf.org/doc/html/rfc6750). Yii soporta todos los métodos anteriores de autenticación. Puedes crear nuevos métodos de autenticación de una forma fácil. diff --git a/docs/guide-ja/rest-authentication.md b/docs/guide-ja/rest-authentication.md index d057aff..1273e27 100644 --- a/docs/guide-ja/rest-authentication.md +++ b/docs/guide-ja/rest-authentication.md @@ -18,7 +18,7 @@ ほとんどのウェブ・サーバはクエリ・パラメータをサーバのログに記録するため、この手法は、 アクセス・トークンを HTTP ヘッダを使って送信することができない `JSONP` リクエストに応答するために主として使用されるべきです。 * [OAuth 2](http://oauth.net/2/): OAuth2 プロトコルに従って、 - アクセス・トークンはコンシューマによって権限付与サーバから取得され、[HTTP Bearer Tokens](http://tools.ietf.org/html/rfc6750) 経由で + アクセス・トークンはコンシューマによって権限付与サーバから取得され、[HTTP Bearer Tokens](https://datatracker.ietf.org/doc/html/rfc6750) 経由で API サーバに送信されます。 Yii は上記の全ての認証方法をサポートしています。新しい認証方法を作成することも簡単に出来ます。 diff --git a/docs/guide-pt-BR/rest-authentication.md b/docs/guide-pt-BR/rest-authentication.md index 07d1edc..046a347 100644 --- a/docs/guide-pt-BR/rest-authentication.md +++ b/docs/guide-pt-BR/rest-authentication.md @@ -7,7 +7,7 @@ Existem diferentes maneiras de enviar um token de acesso: * [Autenticação Básica HTTP](http://en.wikipedia.org/wiki/Basic_access_authentication): o token de acesso é enviado como um nome de usuário. Isso só deve ser usado quando um token de acesso puder ser armazenado com segurança no lado do consumidor da API. Por exemplo, o consumidor API é um programa executado em um servidor. * Parâmetro de consulta da URL: o token de acesso é enviado como um parâmetro de consulta na URL da API, ex., `https://example.com/users?access-token=xxxxxxxx`. Como a maioria dos servidores Web manterão os parâmetros de consulta nos logs do servidor, esta abordagem deve ser utilizada principalmente para servir requisições `JSONP` que não pode usar cabeçalhos HTTP para enviar tokens de acesso. -* [OAuth 2](http://oauth.net/2/): o token de acesso é obtido pelo consumidor a partir de um servidor de autorização e enviado para o servidor da API via [HTTP Bearer Tokens] (http://tools.ietf.org/html/rfc6750), de acordo com o protocolo OAuth2. +* [OAuth 2](http://oauth.net/2/): o token de acesso é obtido pelo consumidor a partir de um servidor de autorização e enviado para o servidor da API via [HTTP Bearer Tokens] (https://datatracker.ietf.org/doc/html/rfc6750), de acordo com o protocolo OAuth2. Yii suporta todos os métodos de autenticação descritos acima. Você também pode criar facilmente um novo método de autenticação. diff --git a/docs/guide-ru/rest-authentication.md b/docs/guide-ru/rest-authentication.md index b35d46d..c34556d 100644 --- a/docs/guide-ru/rest-authentication.md +++ b/docs/guide-ru/rest-authentication.md @@ -18,7 +18,7 @@ такой подход следует применять только при работе с `JSONP`-запросами, которые не могут отправлять токены доступа в HTTP-заголовках. * [OAuth 2](http://oauth.net/2/): токен доступа выдается пользователю API сервером авторизации - и отправляется API-серверу через [HTTP Bearer Tokens](http://tools.ietf.org/html/rfc6750), + и отправляется API-серверу через [HTTP Bearer Tokens](https://datatracker.ietf.org/doc/html/rfc6750), в соответствии с протоколом OAuth2. Yii поддерживает все выше перечисленные методы аутентификации. Вы также можете легко создавать новые методы аутентификации. diff --git a/docs/guide-zh-CN/rest-authentication.md b/docs/guide-zh-CN/rest-authentication.md index 41bc24d..1b46c06 100644 --- a/docs/guide-zh-CN/rest-authentication.md +++ b/docs/guide-zh-CN/rest-authentication.md @@ -18,7 +18,7 @@ 由于大多数服务器都会保存请求参数到日志, 这种方式应主要用于`JSONP` 请求,因为它不能使用HTTP头来发送access token * [OAuth 2](http://oauth.net/2/):使用者从认证服务器上获取基于 OAuth2 协议的 access token, - 然后通过 [HTTP Bearer Tokens](http://tools.ietf.org/html/rfc6750) + 然后通过 [HTTP Bearer Tokens](https://datatracker.ietf.org/doc/html/rfc6750) 发送到 API 服务器。 Yii 支持上述的认证方式,你也可很方便的创建新的认证方式。 diff --git a/docs/guide/rest-authentication.md b/docs/guide/rest-authentication.md index cd7e5d1..78b2213 100644 --- a/docs/guide/rest-authentication.md +++ b/docs/guide/rest-authentication.md @@ -18,7 +18,7 @@ There are different ways to send an access token: parameters in server logs, this approach should be mainly used to serve `JSONP` requests which cannot use HTTP headers to send access tokens. * [OAuth 2](http://oauth.net/2/): the access token is obtained by the consumer from an authorization - server and sent to the API server via [HTTP Bearer Tokens](http://tools.ietf.org/html/rfc6750), + server and sent to the API server via [HTTP Bearer Tokens](https://datatracker.ietf.org/doc/html/rfc6750), according to the OAuth2 protocol. Yii supports all of the above authentication methods. You can also easily create new authentication methods.