Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 8,749 for www (0.02 seconds)

  1. docs/sts/client-grants.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"context"
    	"crypto/tls"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"log"
    	"net/http"
    	"net/url"
    	"strings"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/simple-oauth2.md

    因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | 信息
    
    此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。
    
    任何 401“UNAUTHORIZED”HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。
    
    本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。
    
    实际上,忽略这个附加响应头,也不会有什么问题。
    
    之所以在此提供这个附加响应头,是为了符合规范的要求。
    
    说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  3. docs/ja/docs/advanced/security/http-basic-auth.md

    # HTTP Basic 認証 { #http-basic-auth }
    
    最もシンプルなケースでは、HTTP Basic 認証を利用できます。
    
    HTTP Basic 認証では、アプリケーションはユーザー名とパスワードを含むヘッダーを期待します。
    
    それを受け取れない場合、HTTP 401 "Unauthorized" エラーを返します。
    
    そして、値が `Basic` のヘッダー `WWW-Authenticate` を、任意の `realm` パラメータとともに返します。
    
    これにより、ブラウザは組み込みのユーザー名とパスワード入力プロンプトを表示します。
    
    その後、そのユーザー名とパスワードを入力すると、ブラウザはそれらをヘッダーに自動的に付与して送信します。
    
    ## シンプルな HTTP Basic 認証 { #simple-http-basic-auth }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. internal/config/identity/openid/provider/keycloak.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package provider
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"net/url"
    	"path"
    	"strings"
    	"sync"
    )
    
    // Token - parses the output from IDP id_token.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

      }
    
      @Test
      fun nonStandardAuthenticationScheme() {
        val calls = authCallsForHeader("WWW-Authenticate: Foo")
        assertThat(calls).isEqualTo(emptyList<String>())
      }
    
      @Test
      fun nonStandardAuthenticationSchemeWithRealm() {
        val calls = authCallsForHeader("WWW-Authenticate: Foo realm=\"Bar\"")
        assertThat(calls.size).isEqualTo(0)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info
    
    The additional header `WWW-Authenticate` with value `Bearer` we are returning here is also part of the spec.
    
    Any HTTP (error) status code 401 "UNAUTHORIZED" is supposed to also return a `WWW-Authenticate` header.
    
    In the case of bearer tokens (our case), the value of that header should be `Bearer`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional.py

                            "operationId": "login_login_post",
                            "requestBody": {
                                "content": {
                                    "application/x-www-form-urlencoded": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Body_login_login_post"
                                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/security/simple-oauth2.md

    したがって、エンドポイントでは、ユーザーが存在し、正しく認証され、かつアクティブである場合にのみ、ユーザーを取得します:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[58:66,69:74,94] *}
    
    /// info | 情報
    
    ここで返している値が `Bearer` の追加ヘッダー `WWW-Authenticate` も仕様の一部です。
    
    HTTP(エラー)ステータスコード 401「UNAUTHORIZED」は、`WWW-Authenticate` ヘッダーも返すことになっています。
    
    ベアラートークン(今回のケース)の場合、そのヘッダーの値は `Bearer` であるべきです。
    
    実際のところ、この追加ヘッダーを省略しても動作はします。
    
    しかし、仕様に準拠するためにここでは付与しています。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  10. tests/test_security_oauth2_optional_description.py

                            "operationId": "login_login_post",
                            "requestBody": {
                                "content": {
                                    "application/x-www-form-urlencoded": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Body_login_login_post"
                                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
Back to Top