Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 243 for authenticated (0.33 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/security/oauth2.py

            Ref: https://datatracker.ietf.org/doc/html/rfc6749
            """
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "Bearer"},
            )
    
        async def __call__(self, request: Request) -> str | None:
            authorization = request.headers.get("Authorization")
            if not authorization:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  2. 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)
  3. cmd/metrics.go

    			return
    		}
    
    		cred := auth.Credentials{
    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:06:31 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.5.md

    * Reduce time needed to attach Azure disks ([#40066](https://github.com/kubernetes/kubernetes/pull/40066), [@codablock](https://github.com/codablock))
    * Fixes request header authenticator by presenting the request header client CA so that the front proxy will authenticate using its client certificate. ([#40301](https://github.com/kubernetes/kubernetes/pull/40301), [@deads2k](https://github.com/deads2k))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 136.4K bytes
    - Click Count (0)
  5. cmd/bucket-handlers.go

    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // ListBucketsHandler - GET Service.
    // -----------
    // This implementation of the GET operation returns a list of all buckets
    // owned by the authenticated sender of the request.
    func (api objectAPIHandlers) ListBucketsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ListBuckets")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                }
            }
            return isBind;
        }
    
        /**
         * Authenticates a user with the specified username and password against LDAP.
         *
         * @param username the username for authentication
         * @param password the password for authentication
         * @return an optional containing the authenticated user if successful, empty otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

        assert response.status_code == 200
        assert response.json() == {
            "message": "You are authenticated",
            "token": "secrettoken",
        }
    
    
    def test_get_me_no_credentials(client: TestClient):
        response = client.get("/me")
        assert response.status_code == 403
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. cmd/bucket-handlers_test.go

    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusOK,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        /**
         * Additional flags for the SMB message.
         */
        protected int flags2;
        /**
         * Process identifier.
         */
        protected int pid;
        /**
         * User identifier for the authenticated session.
         */
        protected int uid;
        /**
         * Multiplex identifier for correlating requests and responses.
         */
        protected int mid;
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/testing-dependencies.md

    ### Kullanım Senaryoları: Harici Servis { #use-cases-external-service }
    
    Örneğin, çağırmanız gereken harici bir authentication provider'ınız olabilir.
    
    Ona bir token gönderirsiniz ve o da authenticated bir user döndürür.
    
    Bu provider request başına ücret alıyor olabilir ve onu çağırmak, testlerde sabit bir mock user kullanmaya kıyasla daha fazla zaman alabilir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top