Skip to content

Commit

Permalink
Fix #19086: Update HTTP Bearer Tokens link (#19087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell committed Dec 20, 2021
1 parent 08da35e commit 3820b34
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/guide-es/rest-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide-ja/rest-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 は上記の全ての認証方法をサポートしています。新しい認証方法を作成することも簡単に出来ます。
Expand Down
2 changes: 1 addition & 1 deletion docs/guide-pt-BR/rest-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion docs/guide-ru/rest-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 поддерживает все выше перечисленные методы аутентификации. Вы также можете легко создавать новые методы аутентификации.
Expand Down
2 changes: 1 addition & 1 deletion docs/guide-zh-CN/rest-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 支持上述的认证方式,你也可很方便的创建新的认证方式。
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/rest-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3820b34

Please sign in to comment.