Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,789 for dfmail (0.15 sec)

  1. docs_src/security/tutorial007.py

            current_password_bytes, correct_password_bytes
        )
        if not (is_correct_username and is_correct_password):
            raise HTTPException(
                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 14:33:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_first_steps/test_tutorial001.py

    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. cmd/crossdomain-xml-handler_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jul 08 14:31:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // IngressRuleValue. If the host is unspecified, the Ingress routes all
      // traffic based on the specified IngressRuleValue.
      //
      // host can be "precise" which is a domain name without the terminating dot of
      // a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
      // prefixed with a single wildcard label (e.g. "*.foo.com").
      // The wildcard character '*' must appear by itself as the first DNS label and
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    # Security - First Steps
    
    Let's imagine that you have your **backend** API in some domain.
    
    And you have a **frontend** in another domain or in a different path of the same domain (or in a mobile application).
    
    And you want to have a way for the frontend to authenticate with the backend, using a **username** and **password**.
    
    We can use **OAuth2** to build that with **FastAPI**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/sts/dex.md

    ```
    
    ### Run the `web-identity.go`
    
    ```
    ~ go run web-identity.go -cid example-app -csec ZXhhbXBsZS1hcHAtc2VjcmV0 \
         -config-ep http://127.0.0.1:5556/dex/.well-known/openid-configuration \
         -cscopes groups,openid,email,profile
    ```
    
    ```
    ~ mc admin policy create admin allaccess.json
    ```
    
    Contents of `allaccess.json`
    
    ```json
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbTreeHandle.java

    
        /**
         * @return server timezone offset
         * @throws CIFSException
         */
        long getServerTimeZoneOffset () throws CIFSException;
    
    
        /**
         * @return server reported domain name
         * @throws CIFSException
         */
        String getOEMDomainName () throws CIFSException;
    
    
        /**
         * @return the share we are connected to
         */
        String getConnectedShare ();
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-child.xml

        <version>11-SNAPSHOT</version>
      </parent>
    
      <artifactId>inheritance</artifactId><!-- same as directory name -->
      <name>Model urls inheritance test child</name>
    
      <scm>
        <url>https://domain.org/override</url><!-- check that this won't impact child.site.url.inherit.append.path attribute inheritance -->
      </scm>
      <distributionManagement>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. RELEASE.md

    *   Fixes a `CHECK` fail in `AudioSummaryV2` ([CVE-2022-35995](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35995))
    *   Fixes a `CHECK` fail in `CollectiveGather` ([CVE-2022-35994](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35994))
    *   Fixes a `CHECK` fail in `SetSize` ([CVE-2022-35993](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-35993))
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
  10. buildscripts/verify-healing.sh

    	timeout 15m /tmp/mc ready myminio || fail
    
    	[ ${first_time} -eq 0 ] && upload_objects
    	[ ${first_time} -ne 0 ] && sleep 120
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "minio server 1 is not running" && fail
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    		echo "minio server 2 is not running" && fail
    	fi
    
    	if ! ps -p $pid3 1>&2 >/dev/null; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top