Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for 403 (0.17 sec)

  1. tests/test_security_openid_connect_description.py

        assert response.json() == {"username": "Other footokenbar"}
    
    
    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. tests/test_security_http_base_description.py

        assert response.json() == {"scheme": "Other", "credentials": "foobar"}
    
    
    def test_security_http_base_no_credentials():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. cmd/s3-zip-handlers.go

    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    				BucketName:      bucket,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. tests/test_security_api_key_header_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {"username": "secret"}
    
    
    def test_security_api_key_no_key():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. tests/test_security_api_key_header.py

        assert response.status_code == 200, response.text
        assert response.json() == {"username": "secret"}
    
    
    def test_security_api_key_no_key():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. tests/test_security_api_key_query_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {"username": "secret"}
    
    
    def test_security_api_key_no_key():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. tests/test_include_router_defaults_overrides.py

    
    @app.get("/default1")
    async def path1_default(level1: str):
        return level1
    
    
    @router2_override.get(
        "/override3",
        tags=["path3a", "path3b"],
        responses={
            403: {"description": "Client error level 3"},
            503: {"description": "Server error level 3"},
        },
        deprecated=True,
        callbacks=callback_router3.routes,
        dependencies=[Depends(dep3)],
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_additional_responses/test_tutorial004.py

                    "get": {
                        "responses": {
                            "404": {"description": "Item not found"},
                            "302": {"description": "The item was moved"},
                            "403": {"description": "Not enough privileges"},
                            "200": {
                                "description": "Successful Response",
                                "content": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  9. tests/test_security_oauth2.py

        assert response.json() == {"username": "Other footokenbar"}
    
    
    def test_security_oauth2_password_bearer_no_header():
        response = client.get("/users/me")
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_strict_login_no_data():
        response = client.post("/login")
        assert response.status_code == 422
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. docs/iam/identity-management-plugin.md

    The keys "exp", "parent" and "sub" in the `claims` object are reserved and if present are ignored by MinIO.
    
    If the token is not valid or access is not approved, the plugin must return a `403` (forbidden) HTTP status code. The body must have an `application/json` content-type with the following structure:
    
    ```json
    {
        "reason": <string>
    }
    ```
    
    The reason message is returned to the client.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
Back to top