- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 110 for digest (0.04 seconds)
-
tests/test_security_http_digest.py
client = TestClient(app) def test_security_http_digest(): response = client.get("/users/me", headers={"Authorization": "Digest foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Digest", "credentials": "foobar"} def test_security_http_digest_no_credentials(): response = client.get("/users/me")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.1K bytes - Click Count (0) -
tests/test_security_http_digest_description.py
client = TestClient(app) def test_security_http_digest(): response = client.get("/users/me", headers={"Authorization": "Digest foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Digest", "credentials": "foobar"} def test_security_http_digest_no_credentials(): response = client.get("/users/me")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.3K bytes - Click Count (0) -
.github/workflows/update-rbe.yml
- name: Update the RBE Configs run: | function map() { # The "digest" that allows us to pull an image is not the digest as # returned by the API, but a sha256sum of the entire chunk of image # metadata. gcr.io helpfully includes it in the header of the response # as docker-content-digest: sha256:[digest]. Note we use egrep to # match exactly sha256:<hash> because curl may include a ^M symbol atCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Dec 01 09:57:00 GMT 2025 - 7.2K bytes - Click Count (1) -
fastapi/security/http.py
return HTTPAuthorizationCredentials(scheme=scheme, credentials=credentials) class HTTPDigest(HTTPBase): """ HTTP Digest authentication. **Warning**: this is only a stub to connect the components with OpenAPI in FastAPI, but it doesn't implement the full Digest scheme, you would need to to subclass it and implement it in your code. Ref: https://datatracker.ietf.org/doc/html/rfc7616
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 13.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
byte[] digest = md.digest(); String md5path = repository.pathOf(artifact) + ".md5"; File md5artifactFile = new File(repository.getBasedir(), md5path); try (Writer writer = new OutputStreamWriter(new FileOutputStream(md5artifactFile), StandardCharsets.ISO_8859_1)) { writer.append(printHexBinary(digest)); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 09:40:15 GMT 2025 - 13.8K bytes - Click Count (0) -
lib/hg/goreposum.py
for name, rev in peer.listkeys(b'bookmarks').items(): h.update(name) h.update(b'=') h.update(rev) h.update(b'\n') print('r1:'+base64.standard_b64encode(h.digest()).decode('utf-8')) @command(b'golookup', [], _('url rev'), norepo=True) def golookup(ui, url, rev): """ golookup looks up a single identifier in the repo, printing its hash. """
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Nov 11 15:21:02 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/ru/docs/advanced/security/http-basic-auth.md
#### Исправление с помощью `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest } Но в нашем коде мы используем `secrets.compare_digest()`. Вкратце: сравнение `stanleyjobsox` с `stanleyjobson` займёт столько же времени, сколько и сравнение `johndoe` с `stanleyjobson`. То же относится и к паролю.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:37:11 GMT 2025 - 7.4K bytes - Click Count (0) -
docs/ru/docs/tutorial/security/index.md
* `bearer`: заголовок `Authorization` со значением `Bearer {уникальный токен}`. Это унаследовано от OAuth2. * Базовая аутентификация по протоколу HTTP. * HTTP Digest и т.д. * `oauth2`: все способы обеспечения безопасности OAuth2 называемые "потоки" (англ. "flows").Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/es/docs/tutorial/security/index.md
* Una cookie. * `http`: sistemas de autenticación HTTP estándar, incluyendo: * `bearer`: un header `Authorization` con un valor de `Bearer ` más un token. Esto se hereda de OAuth2. * Autenticación básica HTTP. * Digest HTTP, etc. * `oauth2`: todas las formas de OAuth2 para manejar la seguridad (llamadas "flujos").
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/security/index.md
* `http`: padrão HTTP de sistemas autenticação, incluindo: * `bearer`: um header de `Authorization` com valor de `Bearer` adicionado de um token. Isso é herança do OAuth2. * HTTP Basic authentication. * HTTP Digest, etc. * `oauth2`: todas as formas do OAuth2 para lidar com segurança (chamados "fluxos"). * Vários desses fluxos são apropriados para construir um provedor de autenticação OAuth2 (como Google, Facebook, X (Twitter), GitHub, etc):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:17:03 GMT 2025 - 4.9K bytes - Click Count (0)