Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 426 for secret2 (0.09 seconds)

  1. docs/de/docs/advanced/security/http-basic-auth.md

    Verwenden Sie eine Abhängigkeit, um zu überprüfen, ob Benutzername und Passwort korrekt sind.
    
    Verwenden Sie dazu das Python-Standardmodul [`secrets`](https://docs.python.org/3/library/secrets.html), um den Benutzernamen und das Passwort zu überprüfen.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  2. tests/test_security_oauth2.py

        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_optional_description.py

        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    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)
  4. internal/auth/credentials_test.go

    	}
    	if len(cred.SecretKey) != secretKeyMaxLen {
    		t.Fatalf("secret key length: expected: %v, got: %v", secretKeyMaxLen, len(cred.SecretKey))
    	}
    }
    
    func TestCreateCredentials(t *testing.T) {
    	testCases := []struct {
    		accessKey   string
    		secretKey   string
    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. .github/workflows/notify-translations.yml

            with:
              limit-access-to-actor: true
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          - name: Notify Translations
            run: uv run ./scripts/notify_translations.py
            env:
              GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
              NUMBER: ${{ github.event.inputs.number || null }}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. .github/workflows/people.yml

            with:
              limit-access-to-actor: true
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_PEOPLE }}
          - name: FastAPI People Experts
            run: uv run ./scripts/people.py
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_PEOPLE }}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  7. .github/workflows/build.yml

            env:
              ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
              ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
              ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
              ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
    
      validation:
        name: "Validation"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  8. tests/test_security_oauth2_optional.py

        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": "password"},
        )
        assert response.status_code == 200
        assert response.json() == {
            "grant_type": "password",
            "username": "johndoe",
            "password": "secret",
            "scopes": [],
            "client_id": None,
            "client_secret": None,
        }
    
    
    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/bucket/replication/setup_3site_replication.sh

    ./s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9001/ -bucket bucket
    ./s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9002/ -bucket bucket
    ./s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9003/ -bucket bucket
    ./s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9004/ -bucket bucket
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  10. docs_src/dependencies/tutorial012_py310.py

    from fastapi import Depends, FastAPI, Header, HTTPException
    
    
    async def verify_token(x_token: str = Header()):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: str = Header()):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 696 bytes
    - Click Count (0)
Back to Top