Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 265 for authorization (0.05 sec)

  1. docs/ru/docs/tutorial/security/first-steps.md

        * Но для этого для конкретной конечной точки нужна аутентификация.
        * Поэтому, чтобы аутентифицироваться в нашем API, он отправляет HTTP-заголовок `Authorization` со значением `Bearer ` плюс сам токен.
        * Если токен содержит `foobar`, то содержимое заголовка `Authorization` будет: `Bearer foobar`.
    
    ## Класс `OAuth2PasswordBearer` в **FastAPI** { #fastapis-oauth2passwordbearer }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. docs/en/docs/_llm-test.md

    * multiprocessing
    
    * the env var
    * the environment variable
    * the `PATH`
    * the `PATH` variable
    
    * the authentication
    * the authentication provider
    * the authorization
    * the authorization form
    * the authorization provider
    * the user authenticates
    * the system authenticates the user
    
    * the CLI
    * the command line interface
    
    * the server
    * the client
    
    * the cloud provider
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 14:48:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. tests/test_dependency_paramless.py

    def test_get_credentials():
        response = client.get("/get-credentials", headers={"authorization": "Bearer token"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "token", "scopes": ["a", "b"]}
    
    
    def test_parameterless_with_scopes():
        response = client.get(
            "/parameterless-with-scopes", headers={"authorization": "Bearer token"}
        )
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

                url.toUrl(),
                Authenticator.RequestorType.SERVER,
              )
            }
    
          if (auth != null) {
            val credentialHeader = if (proxyAuthorization) "Proxy-Authorization" else "Authorization"
            val credential =
              Credentials.basic(
                auth.userName,
                String(auth.password),
                challenge.charset,
              )
            return request
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/first-steps.md

        * Es benötigt jedoch eine Authentifizierung für diesen bestimmten Endpunkt.
        * Um sich also bei unserer API zu authentifizieren, sendet es einen Header `Authorization` mit dem Wert `Bearer ` plus dem Token.
        * Wenn der Token `foobar` enthielte, wäre der Inhalt des `Authorization`-Headers: `Bearer foobar`.
    
    ## **FastAPI**s `OAuth2PasswordBearer` { #fastapis-oauth2passwordbearer }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/security/first-steps.md

        - 这样一来,就算令牌被人窃取,风险也较低。因为它与永久密钥不同,**在绝大多数情况下**不会长期有效
    - 前端临时将令牌存储在某个位置
    - 用户点击前端,前往前端应用的其它部件
    - 前端需要从 API 中提取更多数据:
        - 为指定的端点(Endpoint)进行身份验证
        - 因此,用 API 验证身份时,要发送值为 `Bearer` + 令牌的请求头 `Authorization`
        - 假如令牌为 `foobar`,`Authorization` 请求头就是: `Bearer foobar`
    
    ## **FastAPI** 的 `OAuth2PasswordBearer`
    
    **FastAPI** 提供了不同抽象级别的安全工具。
    
    本例使用 **OAuth2** 的 **Password** 流以及 **Bearer** 令牌(`Token`)。为此要使用 `OAuth2PasswordBearer` 类。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. docs/iam/identity-management-plugin.md

    MINIO_IDENTITY_PLUGIN_AUTH_TOKEN    (string)    authorization token for plugin hook endpoint
    MINIO_IDENTITY_PLUGIN_ROLE_POLICY*  (string)    policies to apply for plugin authorized users
    MINIO_IDENTITY_PLUGIN_ROLE_ID       (string)    unique ID to generate the ARN
    MINIO_IDENTITY_PLUGIN_COMMENT       (sentence)  optionally add a comment to this setting
    ```
    
    If provided, the auth token parameter is sent as an authorization header.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  8. internal/event/target/nats_contrib_test.go

    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Authorization = "s3cr3t"
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    		Token:   opts.Authorization,
    	}
    
    	con, err := clientConfig.connectNats()
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. cmd/signature-v2.go

    		return checkKeyValid(r, accessKey)
    	}
    
    	// below is V2 Signed Auth header format, splitting on `space` (after the `AWS` string).
    	// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    	authFields := strings.Split(r.Header.Get(xhttp.Authorization), " ")
    	if len(authFields) != 2 {
    		return auth.Credentials{}, false, ErrMissingFields
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. internal/config/policy/plugin/config.go

    	"io"
    	"net/http"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	xhttp "github.com/minio/minio/internal/http"
    	xnet "github.com/minio/pkg/v3/net"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Authorization Plugin config and env variables
    const (
    	URL         = "url"
    	AuthToken   = "auth_token"
    	EnableHTTP2 = "enable_http2"
    
    	EnvPolicyPluginURL         = "MINIO_POLICY_PLUGIN_URL"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top